Scripting API
Scripting API
ParticlePreviewState
Record struct in Abyss.Core, from Abyss.Core.
How what the editor plays while the game is edited was as of the last frame; see Preview.
public readonly record struct ParticlePreviewStateConstructors
ParticlePreviewState
public ParticlePreviewState(float Seconds, int Emitters, int Count, bool Playing)How what the editor plays while the game is edited was as of the last frame; see Preview.
Parameters
Seconds: How long it has played since it started, held while paused.Emitters: How many emitters play: none where nothing picked has one, on it or under it.Count: How many particles they have out, together.Playing: Whether any of them is in a cycle, sending particles out.
Properties
Seconds
public float Seconds { get; init; }How long it has played since it started, held while paused.
Emitters
public int Emitters { get; init; }How many emitters play: none where nothing picked has one, on it or under it.
Count
public int Count { get; init; }How many particles they have out, together.
Playing
public bool Playing { get; init; }Whether any of them is in a cycle, sending particles out.
