Scripting API

Scripting API

AnimationAction

Record struct in Abyss.Core, from Abyss.Core.

A clip played from code on an animator, as World.Play gives it: what World.StateOf says how it is getting on by, and GameCode.Ended waits for the end of.

public readonly record struct AnimationAction

Constructors

AnimationAction

public AnimationAction(ulong Animator, ulong Id)

A clip played from code on an animator, as World.Play gives it: what World.StateOf says how it is getting on by, and GameCode.Ended waits for the end of.

Parameters

  • Animator: The animator it was played on.
  • Id: Its id, the world's: never 0.

Properties

Animator

public ulong Animator { get; init; }

The animator it was played on.

Id

public ulong Id { get; init; }

Its id, the world's: never 0.

None

public static AnimationAction None { get; }

No action.

IsNone

public bool IsNone { get; }

Whether this names no action.