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

Animation controller with reference to an animation graph and an animation set. Enables skeletal animation on its skinned mesh descendents whose skeleton is compatible with the animations in the animation set.

Properties

animationGraphRef

animationGraphRef: AssetRef<AnimationGraph>;

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

UUID of the referenced animation graph.


animationSetRef

animationSetRef: AssetRef<AnimationSet>;

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

UUID of the referenced animation set.


dataJSON

dataJSON: AnimationGraphDataObject;

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

Input values as described in the referenced animation graph in their original JSON format.


rootBoneEntityRef

rootBoneEntityRef: EntityRef;

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

Reference to the entity with the bone component that corresponds the root bone of the skeleton.


rootMotionEnabled

rootMotionEnabled: boolean;

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

Whether or not root motion is enabled.

Default Value

false;