Urho.Urho2D.ParticleEmitter2D Class

2D particle emitter component.

See Also: ParticleEmitter2D

Syntax

public class ParticleEmitter2D : Drawable2D

Remarks

Used to display a ParticleEffect2D

Equivalent to a 3D ParticleEmitter. 

For a demonstration, check example 25_Urho2DParticle.

Requirements

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

The members of Urho.Urho2D.ParticleEmitter2D are listed below.

See Also: Drawable2D

Public Constructors

Constructs a new instance of Urho.Urho2D.ParticleEmitter2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.ParticleEmitter2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.ParticleEmitter2D 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

BlendModeBlendMode. Return blend mode. Or Set blend mode.
EffectParticleEffect2D. Return particle effect. Or Set particle effect.
MaxParticlesUInt32. Return max particles. Or Set max particles.
[read-only]
ParticleEffectAttrResourceRef. Return particle model attr.
SpriteSprite2D. Return sprite. Or Set sprite.
[read-only]
SpriteAttrResourceRef. Return sprite attribute.
[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

override
OnSetEnabled()
Handle enabled/disabled state change.
static
RegisterObject(Context)
Register object factory. drawable2d must be registered first.