Scripting API
Scripting API
FiredClipEvent
Record struct in Abyss.Core, from Abyss.Core.
One event a clip fired on an animator, before its struct is made of its fields.
public readonly record struct FiredClipEventConstructors
FiredClipEvent
public FiredClipEvent(ulong Animator, ClipId Clip, int Index, float Time, float Weight)One event a clip fired on an animator, before its struct is made of its fields.
Parameters
Animator: The animator: an entity with anAnimator.Clip: The clip that fired it.Index: Which of the clip's events, in the order of their times; seeWorld.EventsOf.Time: Its time on the clip, in seconds.Weight: How much of what is drawn the clip was: 1 alone.
Properties
Animator
public ulong Animator { get; init; }The animator: an entity with an Animator.
Clip
public ClipId Clip { get; init; }The clip that fired it.
Index
public int Index { get; init; }Which of the clip's events, in the order of their times; see World.EventsOf.
Time
public float Time { get; init; }Its time on the clip, in seconds.
Weight
public float Weight { get; init; }How much of what is drawn the clip was: 1 alone.
