Skip to main content

Type Alias: AnimationController

type AnimationController = {
animationGraphRef: AssetRef<AnimationGraph>;
animationSetRef: AssetRef<AnimationSet>;
dataJSON: AnimationGraphDataObject;
rootBoneEntityRef: EntityRef;
rootMotionEnabled: boolean;
};

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:23

Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set.

Properties​

animationGraphRef​

animationGraphRef: AssetRef<AnimationGraph>;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:27

Referenced Animation Graph (UUID).


animationSetRef​

animationSetRef: AssetRef<AnimationSet>;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:31

Referenced Animation Set (UUID).


dataJSON​

dataJSON: AnimationGraphDataObject;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:35

Animation Graph input parameters in JSON format.


rootBoneEntityRef​

rootBoneEntityRef: EntityRef;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:39

Entity containing the Bone component for the skeleton's root bone.


rootMotionEnabled​

rootMotionEnabled: boolean;

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:44

Enable root motion extraction and application to the entity transform.

Default Value​

false;