Struct CreateRootMotionClipNodeElement
Buffer Element used to create a root motion node
Namespace: Unity.Timeline.Animation
Syntax
public struct CreateRootMotionClipNodeElement : IBufferElementData
Fields
AnimatedOffset
The Animated Local Root Motion Offset
Declaration
public BlobAssetReference<AnimatedRigidTransformBlob> AnimatedOffset
Field Value
Type | Description |
---|---|
BlobAssetReference<AnimatedRigidTransformBlob> |
ClipOffset
The Offset of this root motion Clip
Declaration
public RigidTransform ClipOffset
Field Value
Type | Description |
---|---|
RigidTransform |
Entity
The Entity to associate to the Animation Clip Node
Declaration
public Entity Entity
Field Value
Type | Description |
---|---|
Entity |
HasAnimation
Separately store whether the root motion offset is animated Works around an issue where passing a null blob asset reference does not give back null in playmode
Declaration
public bool HasAnimation
Field Value
Type | Description |
---|---|
Boolean |
MixerIndex
The index of the root motion mixer to connect to
Declaration
public ushort MixerIndex
Field Value
Type | Description |
---|---|
UInt16 |
PortIndex
The index of the mixer port to attach to
Declaration
public ushort PortIndex
Field Value
Type | Description |
---|---|
UInt16 |
TimeOffset
The time offset of the Root Motion Clip
Declaration
public DiscreteTime TimeOffset
Field Value
Type | Description |
---|---|
DiscreteTime |