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++     dropdown Members: Show All Members: Filtered Members: Filtered Members: Filtered

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

[TCheckBoxFormControlObj]Include Protected Members

[TCheckBoxFormControlObj]
Include Inherited Members
DPSF API Documentation
MagnetLineSegment Fields
gradient
The

MagnetLineSegment type exposes the following members.

collapse_allFields

 

Name

Description

pubfield

DistanceFunction

The Function to use to determine how much a Particle should be affected by the Magnet based on how far away from the Magnet it is.

(Inherited from DefaultParticleSystemMagnet.)

pubfield

MaxDistance

The Max Distance that the Magnet should be able to affect Particles at. If the Particle is further away from the Magnet than this distance, the Magnet will not affect the Particle.

(Inherited from DefaultParticleSystemMagnet.)

pubfield

MaxForce

The Maximum Force that the Magnet is able to exert on a Particle.

The Force exerted on a particle by a Magnet may vary depending on which Distance Function is used, and the particle's distance from the Magnet.

(Inherited from DefaultParticleSystemMagnet.)

protfield

meMagnetType

Holds the Type of Magnet this is

(Inherited from DefaultParticleSystemMagnet.)

pubfield

MinDistance

The Min Distance that the Magnet should be able to affect Particles at. If the Particle is closer to the Magnet than this distance, the Magnet will not affect the Particle.

(Inherited from DefaultParticleSystemMagnet.)

pubfield

Mode

The current Mode that the Magnet is in

(Inherited from DefaultParticleSystemMagnet.)

pubfield

UserDefinedMagnetType

The Type of User-Defined Magnet this is. User-defined Magnet classes will all have a MagnetType = MagnetTypes.UserDefined, so this field can be used to distinguish between different user-defined Magnet classes. This may be used in conjunction with the "Other" Magnet Mode to distinguish which type of custom user effect the Magnet should have on the Particles.

(Inherited from DefaultParticleSystemMagnet.)

collapse_allSee Also

MagnetLineSegment Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com