[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
[TCheckBoxFormControlObj]Include Protected Members
[TCheckBoxFormControlObj]
Include Inherited Members
The MagnetLine type exposes the following members.
Constructors
Methods
Fields
|
Name
|
Description
|
|
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.)
|
|
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.)
|
|
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.)
|
|
meMagnetType
|
Holds the Type of Magnet this is
(Inherited from DefaultParticleSystemMagnet.)
|
|
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.)
|
|
Mode
|
The current Mode that the Magnet is in
(Inherited from DefaultParticleSystemMagnet.)
|
|
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.)
|
Properties
|
Name
|
Description
|
|
Direction
|
The direction that the Line points in. This direction, along with the opposite (i.e. negative) of this direction form the line, since a line has infinite length. This value is automatically normalized when it is set.
|
|
ID
|
Get the unique ID of this Magnet
(Inherited from DefaultParticleSystemMagnet.)
|
|
MagnetType
|
Gets what Type of Magnet this is
(Inherited from DefaultParticleSystemMagnet.)
|
|
PositionOnLine
|
A 3D point that the Line passes through
|
See Also
MagnetLine Class
DPSF Namespace
Send comments on this topic to
|