Skip to content

ITextStudioReactionUIParticleHost

InterfaceTextStudioTextStudio
public interface ITextStudioReactionUIParticleHost

Optional host service for acquiring bounded particle output from the active UI renderer.

bool CanAcquireReactionUIParticles(int count)

Reports whether the UI renderer can provide a particle output of the requested size.

Parameters

NameType
countSystem.Int32

Returns

System.Boolean

TryAcquireReactionUIParticles(in TextStudioReactionAnchor, int, out TextStudioReactionUIParticleLease)

Section titled “TryAcquireReactionUIParticles(in TextStudioReactionAnchor, int, out TextStudioReactionUIParticleLease)”
bool TryAcquireReactionUIParticles(in TextStudioReactionAnchor anchor, int count, out TextStudioReactionUIParticleLease lease)

Attempts to acquire a bounded UI particle lease anchored to the supplied reaction position.

Parameters

NameType
anchorTextStudio.TextStudioReactionAnchor
countSystem.Int32
leaseTextStudio.TextStudioReactionUIParticleLease

Returns

System.Boolean