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>)>)>..::..UsingExternalSpriteBatchToDrawParticles Property
gradient

Returns if this particle system is dependent on an external Sprite Batch to draw its particles or not.

If false, the particle system will use its own SpriteBatch to draw its particles.

If true, then you must call SpriteBatch.Begin() before calling ParticleSystem.Draw() to draw the particle system, and then call SpriteBatch.End() when done drawing the particle system, where the SpriteBatch referred to here is the one you passed into the InitializeSpriteParticleSystem() function.

NOTE: This property only applies to Sprite particle systems.

Namespace: DPSF

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

collapse_allSyntax

C#

public bool UsingExternalSpriteBatchToDrawParticles { getprivate set; }

Visual Basic

Public Property UsingExternalSpriteBatchToDrawParticles As Boolean

 Get

 Private Set

Visual C++

public:

virtual property bool UsingExternalSpriteBatchToDrawParticles {

 bool get () sealed;

 privatevoid set (bool valuesealed;

}

Property Value

Type: Boolean

Implements

IDPSFParticleSystem..::..UsingExternalSpriteBatchToDrawParticles

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