Plush

AnimationStateDefinition#

PlushEngine · Type index

Namespace: PlushEngine

How a state plays its clip: which clip (of which model), the part of it, the speed and whether it loops by default. Start and End are seconds into the clip (End 0 = to the end).

public sealed record AnimationStateDefinition(string Name, string ClipMeshId, string ClipName, float Start, float End, float Speed, bool Loop)

Record properties#

PropertyTypeAccessConstructor default
Namestringget; init;required
ClipMeshIdstringget; init;required
ClipNamestringget; init;required
Startfloatget; init;required
Endfloatget; init;required
Speedfloatget; init;required
Loopboolget; init;required

Members: RigKey

RigKey#

public string RigKey(string meshId);

The clip name playback finds on the rig: the source clip's own name when the state plays all of a clip of the same model, else a derived clip.

Source#