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

IDPSFParticleSystem
.
.
::
..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#

bool UsingExternalSpriteBatchToDrawParticles { get; }

Visual Basic

ReadOnly Property UsingExternalSpriteBatchToDrawParticles As Boolean

 Get

Visual C++

property bool UsingExternalSpriteBatchToDrawParticles {

 bool get ();

}

Property Value

Type: Boolean

collapse_allSee Also

IDPSFParticleSystem Interface

IDPSFParticleSystem Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com