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

DPSFDefaultBaseParticle Members

gradient

The DPSFDefaultBaseParticle type exposes the following members.

collapse_allConstructors

 

Name

Description

pubmethod

DPSFDefaultBaseParticle

Initializes a new instance of the DPSFDefaultBaseParticle class

collapse_allMethods

 

Name

Description

pubmethod

CopyFrom

Deep copy all of the Particle properties

(Overrides DPSFParticle..::..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 DPSFParticle..::..Reset()()()().)

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

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.

pubfield

EndColor

The Particle's Color when it dies

NOTE: This should be a Non-Premultipilied color.

pubfield

ExternalForce

An External Force that may be applied to the Particle

pubfield

Friction

The Friction to apply to the Particle

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

pubfield

StartColor

The Particle's Color when it is born.

NOTE: This should be a Non-Premultipilied color.

pubfield

Velocity

The Particle's Velocity

collapse_allProperties

 

Name

Description

pubproperty

ColorAsPremultiplied

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

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).

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

StartColorAsPremultiplied

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

pubproperty

Visible

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

(Inherited from DPSFParticle.)

collapse_allSee Also

DPSFDefaultBaseParticle Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com