collapse_all
expand_all

collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++     dropdown Members: Show All Members: Filtered Members: Filtered Members: Filtered

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

[TCheckBoxFormControlObj]Include Protected Members

[TCheckBoxFormControlObj]
Include Inherited Members
DPSF API Documentation
DefaultSprite3DBillboardTextureCoordinatesParticle Members
gradient

The DefaultSprite3DBillboardTextureCoordinatesParticle type exposes the following members.

collapse_allConstructors

 

Name

Description

pubmethod

DefaultSprite3DBillboardTextureCoordinatesParticle

Initializes a new instance of the DefaultSprite3DBillboardTextureCoordinatesParticle class

collapse_allMethods

 

Name

Description

pubmethod

CopyFrom

Deep copy all of the Particle properties

(Overrides DefaultSprite3DBillboardParticle..::..CopyFrom(DPSFParticle).)

pubmethod

Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)

protmethod

Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)

pubmethod

GetHashCode

Serves as a hash function for a particular type.

(Inherited from Object.)

pubmethod

GetType

Gets the Type of the current instance.

(Inherited from Object.)

pubmethod

IsActive

Function to tell if a Particle is still Active (alive) or not

(Inherited from DPSFParticle.)

protmethod

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

pubmethod

Reset

Resets the Particle variables to their default values

(Overrides DefaultSprite3DBillboardParticle..::..Reset()()()().)

pubmethod

Scale

Scales the Width and Height by the given amount.

(Inherited from DefaultSpriteParticle.)

pubmethod

ScaleToHeight

Updates the Height to the given value and uniformly scales the Width to maintain the width-to-height ratio.

(Inherited from DefaultSpriteParticle.)

pubmethod

ScaleToWidth

Updates the Width to the given value and uniformly scales the Height to maintain the width-to-height ratio.

(Inherited from DefaultSpriteParticle.)

pubmethod

SetTextureCoordinates(Rectangle)

Sets the Texture Coordinates to use for the Picture that represents this Particle.

pubmethod

SetTextureCoordinates(Int32, Int32, Int32, Int32)

Sets the Texture Coordinates to use for the Picture that represents this Particle

pubmethod

ToString

Returns a String that represents the current Object.

(Inherited from Object.)

pubmethod

UpdateElapsedTimeVariables

Function to update the Elapsed Time associated variables of the Particle. This is done automatically by DPSF when the particle system's Update() function is called, so this function does not need to be manually called by the user.

(Inherited from DPSFParticle.)

collapse_allFields

 

Name

Description

pubfield

Acceleration

The Particle's Acceleration

(Inherited from DPSFDefaultBaseParticle.)

pubfield

Color

The Color of the Particle, or if using a Texture, the Color to incorporate into the Particle's Texture.

NOTE: This Color's alpha value controls the transparency of the Particle's Texture.

NOTE: This should be a Non-Premultipilied color.

(Inherited from DPSFDefaultBaseParticle.)

pubfield

DistanceFromCameraSquared

The squared distance between this particle and the camera.

NOTE: This property is only used if you are sorting the particles based on their distance from the camera, otherwise you can use this property for whatever you like.

(Inherited from DefaultSprite3DBillboardParticle.)

pubfield

EndColor

The Particle's Color when it dies

NOTE: This should be a Non-Premultipilied color.

(Inherited from DPSFDefaultBaseParticle.)

pubfield

EndHeight

The Height of the Particle when it dies

(Inherited from DefaultSpriteParticle.)

pubfield

EndWidth

The Width of the Particle when it dies

(Inherited from DefaultSpriteParticle.)

pubfield

ExternalForce

An External Force that may be applied to the Particle

(Inherited from DPSFDefaultBaseParticle.)

pubfield

FlipMode

Tells if the Sprite should be flipped Horizontally or Vertically

(Inherited from DefaultSpriteParticle.)

pubfield

Friction

The Friction to apply to the Particle

(Inherited from DPSFDefaultBaseParticle.)

pubfield

Height

The Height of the Particle

(Inherited from DefaultSpriteParticle.)

pubfield

Position

The Position of the Particle in 3D space.

NOTE: For 2D Pixel and Sprite Particles, the Z value can still be used to determine which Particles are drawn in front of others (0.0 = front, 1.0 = back) when SpriteBatchOptions.eSortMode = SpriteSortMode.BackToFront or SpriteSortMode.FrontToBack

(Inherited from DPSFDefaultBaseParticle.)

pubfield

Rotation

How much the Particle should be Rotated

(Inherited from DefaultSpriteParticle.)

pubfield

RotationalAcceleration

The Particle's Rotational Acceleration

(Inherited from DefaultSpriteParticle.)

pubfield

RotationalVelocity

The Particle's Rotational Velocity

(Inherited from DefaultSpriteParticle.)

pubfield

StartColor

The Particle's Color when it is born.

NOTE: This should be a Non-Premultipilied color.

(Inherited from DPSFDefaultBaseParticle.)

pubfield

StartHeight

The Height of the Particle when it is born

(Inherited from DefaultSpriteParticle.)

pubfield

StartWidth

The Width of the Particle when it is born

(Inherited from DefaultSpriteParticle.)

pubfield

TextureCoordinates

The top-left Position and the Dimensions of this Picture in the Texture

pubfield

Velocity

The Particle's Velocity

(Inherited from DPSFDefaultBaseParticle.)

pubfield

Width

The Width of the Particle

(Inherited from DefaultSpriteParticle.)

collapse_allProperties

 

Name

Description

pubproperty

ColorAsPremultiplied

Get the Color as a Premultiplied color (i.e. premultiplied alpha).

(Inherited from DPSFDefaultBaseParticle.)

pubproperty

ElapsedTime

Get / Set how much Time has Elapsed since this Particle was born.

NOTE: Setting this to be greater than or equal to Lifetime will cause the Particle to become InActive and be removed from the Particle System (if Lifetime is greater than zero).

NOTE: Setting this also sets the Last Elapsed Time to the given value.

(Inherited from DPSFParticle.)

pubproperty

EndColorAsPremultiplied

Get the End Color as a Premultiplied color (i.e. premultiplied alpha).

(Inherited from DPSFDefaultBaseParticle.)

pubproperty

EndSize

Sets the EndWidth and EndHeight properties to the given value. Gets the EndWidth value, ignoring whether the EndHeight value is the same or not.

(Inherited from DefaultSpriteParticle.)

pubproperty

LastElapsedTime

Get the Elapsed Time of the Particle at the previous frame

(Inherited from DPSFParticle.)

pubproperty

LastNormalizedElapsedTime

Get the Normalized Elapsed Time of the Particle at the previous frame

(Inherited from DPSFParticle.)

pubproperty

Lifetime

Get / Set the Lifetime of the Particle (How long it should live for).

NOTE: Setting this to zero will make the Particle live forever.

NOTE: Negative Lifetimes are reset to zero.

(Inherited from DPSFParticle.)

pubproperty

NormalizedElapsedTime

Get / Set the Normalized Elapsed Time (0.0 - 1.0) of this Particle (How far through its life it is).

NOTE: Setting this to be greater than or equal to 1.0 will cause the Particle to become InActive and be removed from the Particle System (if Lifetime is greater than zero).

NOTE: If the Particle has a Lifetime of zero (is set to live forever), Setting this has no effect, and Getting this will always return zero.

(Inherited from DPSFParticle.)

pubproperty

Size

Sets the Width and Height properties to the given value. Gets the Width value, ignoring whether the Height value is the same or not.

(Inherited from DefaultSpriteParticle.)

pubproperty

StartColorAsPremultiplied

Get the Start Color as a Premultiplied color (i.e. premultiplied alpha).

(Inherited from DPSFDefaultBaseParticle.)

pubproperty

StartSize

Sets the StartWidth and StartHeight properties to the given value. Gets the StartWidth value, ignoring whether the StartHeight value is the same or not.

(Inherited from DefaultSpriteParticle.)

pubproperty

Visible

Get / Set if the Particle should be Visible (i.e. be drawn) or not

(Inherited from DPSFParticle.)

collapse_allSee Also

DefaultSprite3DBillboardTextureCoordinatesParticle Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com