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>)>)>..::..AddParticles Method (Int32, Particle)
gradient

Adds the specified number of new Particles to the particle system, copying the properties of the given Particle To Copy.

NOTE: The Particle Initialization Function is not called when copying from an existing particle.

Namespace: DPSF

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

collapse_allSyntax

C#

public int AddParticles(

 int numberOfParticlesToAdd,

 Particle particleToCopy

)

Visual Basic

Public Function AddParticles (

 numberOfParticlesToAdd As Integer,

 particleToCopy As Particle

As Integer

Visual C++

public:

int AddParticles(

 int numberOfParticlesToAdd,

 Particle particleToCopy

)

Parameters

numberOfParticlesToAdd

Type: System..::..Int32

How many copies of the Particle To Copy to Add to the particle system.

particleToCopy

Type: Particle

The Particle to copy from when Adding the Particles to the Particle System. If this is null then the new Particles will be initialized using the particle system's Particle Initialization Function.

Return Value

Type: Int32

Returns how many Particles were able to be added to the particle system.

collapse_allSee Also

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

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

AddParticles Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com