Plush

EffectAsset#

PlushEngine · Type index

Namespace: PlushEngine

A resolved effect datablock: elements that each simulate and draw with one effect model, and how long it plays. A non-looping effect emits for Duration and finishes when its last particle dies.

public sealed record EffectAsset(string Id, string Name, float Duration, bool Looping, IReadOnlyList<EffectElement> Elements)

Record properties#

PropertyTypeAccessConstructor default
Idstringget; init;required
Namestringget; init;required
Durationfloatget; init;required
Loopingboolget; init;required
ElementsIReadOnlyList<EffectElement>get; init;required

EffectElement

Source#