Skip to content

ITextStudioReactionUIParticleOutput

InterfaceTextStudioTextStudio
public interface ITextStudioReactionUIParticleOutput

Renderer-neutral commands write particles without owning UI elements.

TrySet(int, uint, int, in TextStudioReactionUIParticle)

Section titled “TrySet(int, uint, int, in TextStudioReactionUIParticle)”
bool TrySet(int slot, uint version, int index, in TextStudioReactionUIParticle particle)

Attempts to write one particle into the output identified by its slot and version.

Parameters

Name Type
slot System.Int32
version System.UInt32
index System.Int32
particle TextStudio.TextStudioReactionUIParticle

Returns

System.Boolean

bool Commit(int slot, uint version)

Publishes the particles written to the specified versioned output.

Parameters

Name Type
slot System.Int32
version System.UInt32

Returns

System.Boolean

void Release(int slot, uint version)

Releases the UI particle output identified by its slot and version.

Parameters

Name Type
slot System.Int32
version System.UInt32