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

Name Type
count System.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

Name Type
anchor TextStudio.TextStudioReactionAnchor
count System.Int32
lease TextStudio.TextStudioReactionUIParticleLease

Returns

System.Boolean