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, ParticleEmitterLerpInfo)
gradient

Adds the specified number of new Particles to the particle system, linearly interpolating (Lerp) the Emitter's Position/Orientation to be between its Previous Position/Orientation and current Position/Orientation when adding new particles.

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

These new Particles are initialized using the particle system's Particle Initialization Function.

Namespace: DPSF

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

collapse_allSyntax

C#

public int AddParticles(

 int numberOfParticlesToAdd,

 ParticleEmitterLerpInfo lerpInfo

)

Visual Basic

Public Function AddParticles (

 numberOfParticlesToAdd As Integer,

 lerpInfo As ParticleEmitterLerpInfo

As Integer

Visual C++

public:

int AddParticles(

 int numberOfParticlesToAdd,

 ParticleEmitterLerpInfolerpInfo

)

Parameters

numberOfParticlesToAdd

Type: System..::..Int32

How many Particles to Add to the particle system.

lerpInfo

Type: DPSF..::..ParticleEmitterLerpInfo

The info to use to Linearly Interpolate the Emitter's Position/Orientation with.

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