particleEffect
inline fun <S> KWidget<S>.particleEffect(particleEffect: ParticleEffect, resetOnStart: Boolean = true, init: ParticleEffectActor.(S) -> Unit = {}): ParticleEffectActor
Return
a ParticleEffectActor instance added to this group. It does not have to be disposed.
Parameters
particleEffect
a loaded ParticleEffect that will be rendered by this actor.
resetOnStart
if true, this actor will call ParticleEffect.reset on ParticleEffectActor.start call.
init
will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.
See also
ParticleEffectActor
ParticleEffect