メタデータの末尾にスキップ
メタデータの先頭に移動

このページの古いバージョンを表示しています。現在のバージョンを表示します。

現在のバージョンとの相違点 ページ履歴を表示

« 前のバージョン バージョン 6 次のバージョン »

In Atoms users can create and attach custom data to almost every entity available. We call this custom data "Metadata".
Atoms has already some predefined Metadatas on most entities such as Agent Types, Animation Clips, etc. 
All the values explained in the previous sections for the Agent Type (State Machine, Scale Multiplier) and Animation Clip (Loop, Loop Start, Loop End, etc.) Simulation Events are in fact metadatas.

This custom data can be accessed and tweaked at simulation time. 
For instance, you might want to tag a specific skeleton joint and access it via python or C++ or stick some custom metadata on an agent to define a specific behaviour.

The available Metadata types are: String, Int, Double, Bool, Euler, Vector3, Vector4, Quaternion, Matrix,  Box3, Curve and Mesh.
There's also an array version type for all these metadatas.
The most powerful metadata is the MapMetadata, a map container for mixed type of metadata.

Metadatas are most useful when used in conjunction with custom python and C++ Behaviour Modules.



Atoms Metadatas

Below you can find a complete list of all metadatas used by Atoms Crowd. Users might edit them during the simulation via python, C++ or using the available tools.
All metadatas marked as "internal only" should not be edited by the users or the editing might lead to unexpected behaviours. 


Clip metadatas

nametypedescriptionread only
atomsBlendFramesAfterFootUpintNumber of frames used for blending after the foot leaves the ground.NO
atomsLoopboolTag the clip as loopable.NO
atomsLoopStartintThe start frame of the clip.NO
atomsLoopEndintThe end frame of the clip.NO
atomsNumBlendFramesintThe number of frames used for bleding.NO

Agent metadatas

nametypedescriptionread only
groupIdintThe local id.YES
groupNamestringThe local name.YES
directionvector3The agent target direction in world space.NO
frameRatedoubleThe frame rate used for playing the agent animation.NO
localDirectionvector3The agent direction in localspace.YES
positionvector3The agent position in world space.YES
scalevector3The agent scale. Only the x axis value is used currently.NO
selectedboolThe agent selection state.NO
upvector3The agent up vector.NO
turnAnglevector3The current turn angle of the agent.YES
velocityvector3The current velocity in world space.YES

Agent type metadatas

nametypedescriptioninternal only
lowGeomapThe low geo meshes.YES
skinGeomapThe skin geo meshes.YES
scaleMultiplierdoubleAgent type scale multiplier.NO
stateMachinestringThe state machine name.NO
boundingBoxboxThe agent type bounding box.YES

Joint metadatas

nametypedescriptionread only
atoms_bindPoseScalevector3The joint bind pose scale.YES
atoms_bindPoseRotatevector3The jointbind pose rotation (Euler - XYZ order)YES
atoms_bindPoseTranslatevector3The joint bind pose translation.YES
atoms_footHeightdoubleThe foot height.YES
atoms_footIKboolFoot ik joint tag.YES
atoms_footRootboolFoot root joint tag.YES
atoms_footOnGroundboolFoot down joint state.YES
atoms_frameToFootDownintNumbers of frame to next foot down.YES
atoms_groundNormalvector3The ground normal.YES
jointControlMappingmapParent for joint controll mappin metadatas. This data is used for the animation rig retargeting feature.YES
jointControlMappingMatrixmatrixThe offset matrix for the given joint.YES
jointControlMappingNamenameThe name of the control to retarget.YES
atoms_origBindPoseRotatevector3The joint original bind pose rotation (Euler - XYZ order)YES
atoms_origBindPoseScalevector3The joint original bind pose scale.YES
atoms_origBindPoseTranslatevector3The joint original bind pose translation.YES
atoms_pelvisHeightdoubleThe pelvis height.YES
atoms_pelvisLocalVelocityvector3The pelvis velocity in local space.YES
atoms_pelvisVelocityvector3The pelvis velocity in world space.YES
atoms_poleVectorvector3The ik pole vector.YES
atoms_propLocalTranslatevector3Prop translation in skeleton root space.YES
atoms_propLocalRotatevector3Prop rotation in skeleton root space.YES
atoms_propLocalScalevector3Prop scale in skeleton root space.YES
  • ラベルがありません