Struct TinyAnimationPlaybackInfo
Contains the meta information that determines the behaviour of an animation clip
Namespace: Unity.Tiny.Animation
Syntax
public struct TinyAnimationPlaybackInfo : IComponentData
Fields
CycleOffset
The normalized offset (0..1) at which to start the animation clip when playing it from the beginning.
Declaration
public float CycleOffset
Field Value
Type | Description |
---|---|
Single |
Remarks
Duration
The duration of the animation clip, in seconds.
Declaration
public float Duration
Field Value
Type | Description |
---|---|
Single |
WrapMode
The behaviour of the clip, once it's evaluated beyond its duration.
Declaration
public WrapMode WrapMode
Field Value
Type | Description |
---|---|
WrapMode |