The properties of the XNACS1ParticleEmitter class are listed below. For a complete list of XNACS1ParticleEmitter class members, see the XNACS1ParticleEmitter Members topic.
![]() | 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. |
![]() | Gets or Sets whether or not particles should automatically be emitted every EmitFrequency ticks. |
![]() | 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. |
![]() | Center of the primitive. |
![]() | X coordinate of the center position of the primitive. |
![]() | Y coordinate of the center position of the primitive. |
![]() | Color of the primitive. (undefined for PrimitiveSet). |
![]() | Gets or Sets the zero-based current sprite column for sprite sheet drawing. |
![]() | Gets or Sets the zero-based current sprite row for sprite sheet drawing. |
![]() | Gets or Sets The default color of emitted particles. |
![]() | Gets or Sets The default texture of emitted particles. |
![]() | Gets or Sets how many ticks between calls of EmitParticle if AutoEmitEnable = True. |
![]() | 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 |
![]() | Gets or Sets the default life in ticks for emitted particles. |
![]() | Gets or Sets The default size of emitted particles. |
![]() | Annotated text label to be associated with the primitive. |
![]() | Color of the anontated text label. |
![]() | Upper left corner of the primitive. |
![]() | Lower left corner of the Primitive. |
![]() | Get or Set the normal direction of the primitive. Setting NormalDirection will update RotateAngle and FrontDirection accordingly. |
![]() | 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 |
![]() | Defines if the primitive should move by its current velocity. Defaults to false. |
![]() | Get/Set the speed (magnitude of the Velocity vector) for the velocity. |
![]() | Texture file name (without the "." or the extension) to cover the primitive. |
![]() | 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. |
![]() | Allow the primitive to draw as a sprite sheet. |
![]() | Allow the primitive to follow a specified sprite sheet animation sequence. |
![]() | Velocity of a primitive. This is a true velocity: with magnitude (speed) and direction for tavel. |
![]() | Get/Set the direction of the velocity. |
![]() | Get/Set the x-component of the primitive velocity. |
![]() | Get/Set the y-component of the primitive velocity. |
![]() | Whether the primitive is visible. |
![]() | Get/Set width/height of the primitive. |
![]() | Width of the primitive. |
![]() | Height of the primitive. For PrimitiveCircle (diameter), PrimitiveRectangle (height), PrimitiveSet (undefined). |
XNACS1ParticleEmitter Class | XNACS1Lib Namespace