C# Class MBLineEmitter, Pharos

Inheritance: MBEmitterType
Afficher le fichier Open project: rstaewen/Pharos

Méthodes publiques

Свойство Type Description
DistributeOverTotal bool
DistributionPoints int
EvenlySpread bool
Points Vector3[]

Protected Properties

Свойство Type Description
mDistribution int
mDistributionStep float
mLengths float[]
mTotalLength float

Méthodes publiques

Méthode Description
CalcLengths ( ) : void
GetDistributionPoint ( int distribution, bool overTotal ) : Vector3

Gets a distribution point in emitter's local scale

GetPosition ( MBParticle, PT ) : Vector3
OnPlay ( ) : void
Reset ( ) : void
SetDistribution ( int points, bool overTotal ) : void
Validate ( ) : void

Méthodes protégées

Méthode Description
DoGizmos ( ) : void

Method Details

CalcLengths() public méthode

public CalcLengths ( ) : void
Résultat void

DoGizmos() protected méthode

protected DoGizmos ( ) : void
Résultat void

GetDistributionPoint() public méthode

Gets a distribution point in emitter's local scale
public GetDistributionPoint ( int distribution, bool overTotal ) : Vector3
distribution int distribution index
overTotal bool whether segments length will taken into the calculation
Résultat Vector3

GetPosition() public méthode

public GetPosition ( MBParticle, PT ) : Vector3
PT MBParticle,
Résultat Vector3

OnPlay() public méthode

public OnPlay ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SetDistribution() public méthode

public SetDistribution ( int points, bool overTotal ) : void
points int
overTotal bool
Résultat void

Validate() public méthode

public Validate ( ) : void
Résultat void

Property Details

DistributeOverTotal public_oe property

Distribute over total length (slower) or over segment lengths
public bool DistributeOverTotal
Résultat bool

DistributionPoints public_oe property

Number of spawnpoints the arc/circle will be divided into when evenly spread
public int DistributionPoints
Résultat int

EvenlySpread public_oe property

True to spawn particles evenly spread along the arc/cirlce
public bool EvenlySpread
Résultat bool

Points public_oe property

Array of line points
public Vector3[] Points
Résultat Vector3[]

mDistribution protected_oe property

protected int mDistribution
Résultat int

mDistributionStep protected_oe property

protected float mDistributionStep
Résultat float

mLengths protected_oe property

protected float[] mLengths
Résultat float[]

mTotalLength protected_oe property

protected float mTotalLength
Résultat float