Scripting API
Scripting API
ControllerState
Class in Abyss.Core, from Abyss.Core.
One state of a layer.
public sealed class ControllerStateProperties
Name
public string Name { get; set; }Its name, which fades and a game's code know it by.
When
public string When { get; set; }When it may play; empty for always.
Clip
public string Clip { get; set; }The clip it plays, models/hero.glb#Walk or a clip file, sprites/coin.anim, or empty for none or a blend space.
Model
public AssetGuid Model { get; set; }The identity of the file the clip is in, its model or its clip file, or AssetGuid.None.
Speed
public float Speed { get; set; }How fast it plays its clip, 1 as it was made.
Leaves
public Leaving Leaves { get; set; }When it may be left.
After
public float After { get; set; }How long it plays at least, in seconds, where it leaves Leaving.After.
Blend
public BlendSpace? Blend { get; set; }The blend space it plays rather than a clip; null for none.
Methods
Copy
public ControllerState Copy()A copy, for an edit to change without touching this, its blend space copied too.
