Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
..DrawAllParticleSystemsToTexture Method
|
|
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
Syntax
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:
Texture2D^ DrawAllParticleSystemsToTexture(
GraphicsDevice^ cGraphicsDevice,
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
See Also
ParticleSystemManager Class
ParticleSystemManager Members
DPSF Namespace
Send comments on this topic to
|