Urho.ParticleEmitter Class

Particle emitter component.

See Also: ParticleEmitter

Syntax

public class ParticleEmitter : BillboardSet

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.ParticleEmitter are listed below.

See Also: BillboardSet

Public Constructors

Constructs a new instance of Urho.ParticleEmitter which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.ParticleEmitter, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.ParticleEmitter linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

AutoRemoveModeAutoRemoveMode. Return automatic removal mode on particle effect completion. Or Set to remove either the emitter component or its owner node from the scene automatically on particle effect completion. Disabled by default.
EffectParticleEffect. Return particle effect. Or Set particle effect.
[read-only]
EffectAttrResourceRef. Set particles effect attribute.
EmittingBoolean. Controls whether is currently emitting.
NumParticlesUInt32. Return maximum number of particles. Or Set maximum number of particles.
SerializeParticlesBoolean. Return whether particles are to be serialized. Or Set whether particles should be serialized. Default true, set false to reduce scene file size.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

ApplyEffect()
Apply not continuously updated values such as the material, the number of particles and sorting mode from the particle effect. Call this if you change the effect programmatically.
override
OnSetEnabled()
Handle enabled/disabled state change.
static
RegisterObject(Context)
Register object factory.
RemoveAllParticles()
Remove all current particles.
Reset()
Reset the particle emitter completely. Removes current particles, sets emitting state on, and resets the emission timer.
ResetEmissionTimer()
Reset the emission period timer.