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++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]

Visual C++
DPSF API Documentation
DPSF
<
(Of
<
(<'Particle, Vertex>)>)>..::..AutoInitialize Method
gradient

Virtual function to Initialize the Particle System with default values. Particle system properties should not be set until after this is called, as they are likely to be reset to their default values.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public virtual void AutoInitialize(

 GraphicsDevice cGraphicsDevice,

 ContentManager cContentManager,

 SpriteBatch cSpriteBatch

)

Visual Basic

Public Overridable Sub AutoInitialize (

 cGraphicsDevice As GraphicsDevice,

 cContentManager As ContentManager,

 cSpriteBatch As SpriteBatch

)

Visual C++

public:

virtual void AutoInitialize(

 GraphicsDevicecGraphicsDevice,

 ContentManagercContentManager,

 SpriteBatchcSpriteBatch

)

Parameters

cGraphicsDevice

Type: GraphicsDevice

The Graphics Device the Particle System should use

cContentManager

Type: ContentManager

The Content Manager the Particle System should use to load resources

cSpriteBatch

Type: SpriteBatch

The Sprite Batch that the Sprite Particle System should use to draw its particles. If this is not initializing a Sprite particle system, or you want the particle system to use its own Sprite Batch, pass in null.

Implements

IDPSFParticleSystem..::..AutoInitialize(GraphicsDevice, ContentManager, SpriteBatch)

collapse_allSee Also

DPSF<(Of <(<'Particle, Vertex>)>)> Class

DPSF<(Of <(<'Particle, Vertex>)>)> Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com