Urho.Urho2D.ParticleEffect2D Class

2D particle effect resource.

See Also: ParticleEffect2D


public class ParticleEffect2D : Resource


Holds the definition from a PEX file defining the behavior and texture of a 2D particle (ParticleEmitter2D). For an example, see bin/Data/Urho2D/greenspiral.pex.


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

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

See Also: Resource

Public Constructors

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

AngleSingle. Return angle. Or Set angle.
AngleVarianceSingle. Return angle variance. Or Set angle variance.
BlendModeBlendMode. Return blend mode. Or Set blend mode.
DurationSingle. Return duration. Or Set duration.
EmitterTypeEmitterType2D. Return emitter type. Or Set emitter type.
FinishColorColor. Return finish color. Or Set finish color.
FinishColorVarianceColor. Return finish color variance. Or Set finish color variance.
FinishParticleSizeSingle. Return finish particle size. Or Set finish particle size.
FinishParticleSizeVarianceSingle. Return finish particle size variance. Or Set finish particle size variance.
GravityVector2. Return gravity. Or Set gravity.
MaxParticlesInt32. Return max particles. Or Set max particles.
MaxRadiusSingle. Return max radius. Or Set max radius.
MaxRadiusVarianceSingle. Return max radius variance. Or Set max radius variance.
MinRadiusSingle. Return min radius. Or Set min radius.
MinRadiusVarianceSingle. Return min radius variance. Or Set min radius variance.
ParticleLifeSpanSingle. Return particle lifespan. Or Set particle lifespan.
ParticleLifespanVarianceSingle. Return particle lifespan variance. Or Set particle lifespan variance.
RadialAccelerationSingle. Return radial acceleration. Or Set radial acceleration.
RadialAccelVarianceSingle. Return radial acceleration variance. Or Set radial acceleration variance.
RotatePerSecondSingle. Return rotate per second. Or Set rotate per second.
RotatePerSecondVarianceSingle. Return rotate per second variance. Or Set rotate per second variance.
RotationEndSingle. Return rotation end. Or Set rotation end.
RotationEndVarianceSingle. Return rotation end variance. Or Set rotation end variance.
RotationStartSingle. Return rotation start. Or Set rotation start.
RotationStartVarianceSingle. Return rotation start variance. Or Set rotation start variance.
SourcePositionVarianceVector2. Return source position variance. Or Set source position variance.
SpeedSingle. Return speed. Or Set speed.
SpeedVarianceSingle. Return speed variance. Or Set speed variance.
SpriteSprite2D. Return sprite. Or Set sprite.
StartColorColor. Return start color. Or Set start color.
StartColorVarianceColor. Return start color variance. Or Set start color variance.
StartParticleSizeSingle. Return start particle size. Or Set start particle size.
StartParticleSizeVarianceSingle. Return start particle size variance. Or Set start particle size variance.
TangentialAccelerationSingle. Return tangential acceleration. Or Set tangential acceleration.
TangentialAccelVarianceSingle. Return tangential acceleration variance. Or Set tangential acceleration variance.
TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

BeginLoad(File) : Boolean
BeginLoad(MemoryBuffer) : Boolean
Clone(String) : ParticleEffect2D
EndLoad() : Boolean
Finish resource loading. Always called from the main thread. Return true if successful.
Register object factory. Drawable2D must be registered first.
Save(File) : Boolean
Save(MemoryBuffer) : Boolean