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
DPSFDefaultBaseParticleSystem
<
(Of
<
(<'Particle, Vertex>)>)>..::..CalculateForceMagnetShouldExertOnParticle Method
gradient

Returns the vector force that a Magnet should exert on a Particle

Namespace: DPSF

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

collapse_allSyntax

C#

protected Vector3 CalculateForceMagnetShouldExertOnParticle(

 DefaultParticleSystemMagnet cMagnet,

 DPSFDefaultBaseParticle cParticle

)

Visual Basic

Protected Function CalculateForceMagnetShouldExertOnParticle (

 cMagnet As DefaultParticleSystemMagnet,

 cParticle As DPSFDefaultBaseParticle

As Vector3

Visual C++

protected:

Vector3 CalculateForceMagnetShouldExertOnParticle(

 DefaultParticleSystemMagnetcMagnet,

 DPSFDefaultBaseParticlecParticle

)

Parameters

cMagnet

Type: DPSF..::..DefaultParticleSystemMagnet

The Magnet affecting the Particle

cParticle

Type: DPSF..::..DPSFDefaultBaseParticle

The Particle being affected by the Magnet

Return Value

Type: Vector3

Returns the vector force that a Magnet should exert on a Particle

collapse_allSee Also

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

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

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com