Scripting API

Scripting API

AnimationEventType

Record in Abyss.Core, from Abyss.Core.

An animation event's struct, described for an editor to place and fill in. See World.AnimationEventTypes.

public record AnimationEventType

Constructors

AnimationEventType

public AnimationEventType(string Name, IReadOnlyList<ComponentField> Fields, IReadOnlyList<FieldHint> Hints, byte[] Start)

An animation event's struct, described for an editor to place and fill in. See World.AnimationEventTypes.

Parameters

  • Name: The name clips' events name it by.
  • Fields: Its fields, by their dotted names, as its layout has them.
  • Hints: What its fields' attributes say of showing them.
  • Start: The bytes it starts as, which a field an event does not set keeps.

Properties

Name

public string Name { get; init; }

The name clips' events name it by.

Fields

public IReadOnlyList<ComponentField> Fields { get; init; }

Its fields, by their dotted names, as its layout has them.

Hints

public IReadOnlyList<FieldHint> Hints { get; init; }

What its fields' attributes say of showing them.

Start

public byte[] Start { get; init; }

The bytes it starts as, which a field an event does not set keeps.