XNACS1Lib: CSS490 Spring 2011

The XNACS1ParticleEmitter..::..TailEmitter type exposes the following members.

Properties

  Name Description
Public property AttachedPrimitive
Gets or Sets the primitive that this emitter is attached to. The emitter's center will be automatically updated each tick to match the attached primitive's center.
(Inherited from XNACS1ParticleEmitter.)
Public property AutoEmitEnabled
Gets or Sets whether or not particles should automatically be emitted every EmitFrequency ticks.
(Inherited from XNACS1ParticleEmitter.)
Public property AutoRemoveDeadParticles
Gets or sets whether or not particles with zero life remaining will be automatically deleted from the particle emitter set. Setting a particle's life to negative will ensure it is never deleted via this functionality.
(Inherited from XNACS1ParticleEmitter.)
Public property Center
Center of the primitive.
(Inherited from XNACS1Particle.)
Public property CenterX
X coordinate of the center position of the primitive.
(Inherited from XNACS1Primitive.)
Public property CenterY
Y coordinate of the center position of the primitive.
(Inherited from XNACS1Primitive.)
Public property Color
Color of the primitive. (undefined for PrimitiveSet).
(Inherited from XNACS1Primitive.)
Public property CurrentSpriteSheetFrameX
Gets or Sets the zero-based current sprite column for sprite sheet drawing.
(Inherited from XNACS1Primitive.)
Public property CurrentSpriteSheetFrameY
Gets or Sets the zero-based current sprite row for sprite sheet drawing.
(Inherited from XNACS1Primitive.)
Public property DefaultColor
Gets or Sets The default color of emitted particles.
(Inherited from XNACS1ParticleEmitter.)
Public property DefaultTexture
Gets or Sets The default texture of emitted particles.
(Inherited from XNACS1ParticleEmitter.)
Public property DisplacementAmplitude
The amplitude of the Particle TravelMode displacement. For example, the amplitude of the Sine Wave.
(Inherited from XNACS1Particle.)
Public property DisplacementFrequency
The frequency of the Particle TravelMode displacement. The default is 1, values between 0..1 would stretch a sine wave while values >1 would compress it.
(Inherited from XNACS1Particle.)
Public property EmitFrequency
Gets or Sets how many ticks between calls of EmitParticle if AutoEmitEnable = True.
(Inherited from XNACS1ParticleEmitter.)
Public property FrontDirection
Sets the front direction of the primitive. Setting FrontDireciton will cause the RotateAngle and NormalDirection of the primitive to be updated accordingly. y default, when RotateAngle is 0, FrontDireciton points towards (1,0) [positive X-direction]. E.g., if we set RotateAngle to 90-degrees, FrontDireciton will be updated accordinlgy to (0,1) [positive y-direciton], or rotated 90-degress in the anit-clockwise direction
(Inherited from XNACS1Primitive.)
Public property InitialLife
Gets or Sets the default life in ticks for emitted particles.
(Inherited from XNACS1ParticleEmitter.)
Public property InitialSize
Gets or Sets The default size of emitted particles.
(Inherited from XNACS1ParticleEmitter.)
Public property Label
Annotated text label to be associated with the primitive.
(Inherited from XNACS1Primitive.)
Public property LabelColor
Color of the anontated text label.
(Inherited from XNACS1Primitive.)
Public property Life
Gets or sets the life parameter of a particle.
(Inherited from XNACS1Particle.)
Public property MaxBound
Upper left corner of the primitive.
(Inherited from XNACS1Primitive.)
Public property MinBound
Lower left corner of the Primitive.
(Inherited from XNACS1Primitive.)
Public property NormalDirection
Get or Set the normal direction of the primitive. Setting NormalDirection will update RotateAngle and FrontDirection accordingly.
(Inherited from XNACS1Primitive.)
Public property ParticlesPerEmit
Gets or Sets the number of particles to be emitted per emit cycle if AutoEmitEnabled = true.
(Inherited from XNACS1ParticleEmitter.)
Public property Radius
Radius of the circle.
(Inherited from XNACS1Circle.)
Public property RotateAngle
Rotate the primitive by the Angle specified (in degree). After the rotation, the FrontDirection of the primitive will be udpated accordingly. By default, when RotateAngle is 0, FrontDireciton points towards (1,0) [positive X-direction]. E.g., if we set RotateAngle to 90-degrees, FrontDireciton will be updated accordinlgy to (0,1) [positive y-direciton], or rotated 90-degress in the anit-clockwise direction
(Inherited from XNACS1Primitive.)
Public property ShouldTravel
Defines if the primitive should move by its current velocity. Defaults to false.
(Inherited from XNACS1Particle.)
Protected property Size
Get/Set width/height of the primitive.
(Inherited from XNACS1Primitive.)
Protected property SizeX
Width of the primitive.
(Inherited from XNACS1Primitive.)
Protected property SizeY
Height of the primitive. For PrimitiveCircle (diameter), PrimitiveRectangle (height), PrimitiveSet (undefined).
(Inherited from XNACS1Primitive.)
Public property Speed
Get/Set the speed (magnitude of the Velocity vector) for the velocity.
(Inherited from XNACS1Primitive.)
Public property Texture
Texture file name (without the "." or the extension) to cover the primitive.
(Inherited from XNACS1Primitive.)
Public property TextureTintColor
If a primitive has a texture assigned, this will change the tint and or opacity of the texture when drawn, Color.White is no tint or opacity.
(Inherited from XNACS1Primitive.)
Public property TravelMode
Gets or Sets the primitive's TravelMode if ShouldTravel = True. Used in conjunction with DisplacementAmplitude and DisplacementFrequecy.
(Inherited from XNACS1Particle.)
Public property UseSpriteSheet
Allow the primitive to draw as a sprite sheet.
(Inherited from XNACS1Primitive.)
Public property UseSpriteSheetAnimation
Allow the primitive to follow a specified sprite sheet animation sequence.
(Inherited from XNACS1Primitive.)
Public property Velocity
Velocity of a primitive. This is a true velocity: with magnitude (speed) and direction for tavel.
(Inherited from XNACS1Primitive.)
Public property VelocityDirection
Get/Set the direction of the velocity.
(Inherited from XNACS1Primitive.)
Public property VelocityX
Get/Set the x-component of the primitive velocity.
(Inherited from XNACS1Primitive.)
Public property VelocityY
Get/Set the y-component of the primitive velocity.
(Inherited from XNACS1Primitive.)
Public property Visible
Whether the primitive is visible.
(Inherited from XNACS1Primitive.)

See Also