Urho.ParticleEffect Class

Particle effect definition.

See Also: ParticleEffect

Syntax

public class ParticleEffect : Resource

Requirements

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

The members of Urho.ParticleEffect are listed below.

See Also: Resource

Public Constructors

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

ActiveTimeSingle. Return emission active period length (0 = infinite.) Or Set emission active period length (0 = infinite.)
AnimationLodBiasSingle. Return animation Lod bias. Or Set animation LOD bias.
ConstantForceVector3. Return constant force acting on particles. Or Set constant force acting on particles.
DampingForceSingle. Return particle velocity damping force. Or Set particle velocity damping force.
EmitterSizeVector3. Return emitter size. Or Set emitter size.
EmitterTypeEmitterType. Return emitter type. Or Set emitter type.
FaceCameraModeFaceCameraMode. Return how the particles rotate in relation to the camera. Or Set how the particles should rotate in relation to the camera. Default is to follow camera rotation on all axes (FC_ROTATE_XYZ.)
FixedScreenSizeBoolean. Return whether billboards are fixed screen size. Or Set whether billboards have fixed size on screen (measured in pixels) regardless of distance to camera.
InactiveTimeSingle. Return emission inactive period length (0 = infinite.) Or Set emission inactive period length (0 = infinite.)
MaterialMaterial. Return material. Or Set material.
MaxDirectionVector3. Return positive direction limit. Or Set positive direction limit.
MaxEmissionRateSingle. Return maximum emission rate. Or Set maximum emission rate.
MaxParticleSizeVector2. Return particle maximum size. Or Set particle maximum size.
MaxRotationSingle. Return particle maximum rotation. Or Set particle maximum rotation.
MaxRotationSpeedSingle. Return particle maximum rotation speed. Or Set particle maximum rotation speed.
MaxTimeToLiveSingle. Return particle maximum time to live. Or Set particle maximum time to live.
MaxVelocitySingle. Return particle maximum velocity. Or Set particle maximum velocity.
MinDirectionVector3. Return negative direction limit. Or Set negative direction limit.
MinEmissionRateSingle. Return minimum emission rate. Or Set minimum emission rate.
MinParticleSizeVector2. Return particle minimum size. Or Set particle minimum size.
MinRotationSingle. Return particle minimum rotation. Or Set particle minimum rotation.
MinRotationSpeedSingle. Return particle minimum rotation speed. Or Set particle minimum rotation speed.
MinTimeToLiveSingle. Return particle minimum time to live. Or Set particle minimum time to live.
MinVelocitySingle. Return particle minimum velocity. Or Set particle minimum velocity.
NumColorFramesUInt32. Return number of color animation frames. Or Set number of color frames.
NumParticlesUInt32. Return maximum number of particles. Or Set maximum number of particles.
NumTextureFramesUInt32. Return number of texture animation frames. Or Set number of texture frames.
[read-only]
RandomDirectionVector3. Return random direction.
[read-only]
RandomRotationSingle. Return random rotation.
[read-only]
RandomRotationSpeedSingle. Return random rotationspeed.
[read-only]
RandomSizeVector2. Return random size.
[read-only]
RandomTimeToLiveSingle. Return random timetolive.
[read-only]
RandomVelocitySingle. Return random velocity.
RelativeBoolean. Determines whether billboards are relative to the scene node.
ScaledBoolean. Determines whether scene node scale affects billboards' size.
SizeAddSingle. Return particle size additive modifier. Or Set particle size additive modifier.
SizeMulSingle. Return particle size multiplicative modifier. Or Set particle size multiplicative modifier.
SortedBoolean. Determines whether billboards are sorted.
[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.
UpdateInvisibleBoolean. Return whether to update when particles are not visible. Or Set whether to update when particles are not visible.

Public Methods

AddColorTime(Color, Single)
Add a color frame sorted in the correct position based on time.
override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
Clone(String) : ParticleEffect
override
EndLoad() : Boolean
Finish resource loading. Always called from the main thread. Return true if successful.
GetColorFrame(UInt32) : ColorFrame*
Return a color animation frame, or null if outside range.
GetTextureFrame(UInt32) : TextureFrame*
Return a texture animation frame, or null if outside range.
Load(XmlElement) : Boolean
static
RegisterObject(Context)
Register object factory.
RemoveColorFrame(UInt32)
Remove color frame at index
RemoveTextureFrame(UInt32)
Remove texture frame at index
override
Save(File) : Boolean
override
Save(MemoryBuffer) : Boolean
Save(XmlElement) : Boolean
SortColorFrames()
Sort the list of color frames based on time.
SortTextureFrames()
Sort the list of texture frames based on time.