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
ParticleSystemManager
.
.
::
..DrawAllParticleSystemsToTexture Method
gradient

Draws all of the Particle Systems to a Texture and returns the Texture, which has a Transparent Black background

Namespace: DPSF

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

collapse_allSyntax

C#

public Texture2D DrawAllParticleSystemsToTexture(

 GraphicsDevice cGraphicsDevice,

 int iTextureWidth,

 int iTextureHeight

)

Visual Basic

Public Function DrawAllParticleSystemsToTexture (

 cGraphicsDevice As GraphicsDevice,

 iTextureWidth As Integer,

 iTextureHeight As Integer

As Texture2D

Visual C++

public:

Texture2DDrawAllParticleSystemsToTexture(

 GraphicsDevicecGraphicsDevice,

 int iTextureWidth,

 int iTextureHeight

)

Parameters

cGraphicsDevice

Type: GraphicsDevice

A Graphics Device to use for drawing; The Graphics Device contents will not be overwritten.

NOTE: The size of the Texture before scaling will be the size of the Graphics Device's Viewport.

iTextureWidth

Type: System..::..Int32

The desired Width of the Texture

iTextureHeight

Type: System..::..Int32

The desired Height of the Texture

Return Value

Type: Texture2D

Returns a Texture with the Particle Systems in their current state drawn on it

collapse_allSee Also

ParticleSystemManager Class

ParticleSystemManager Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com