Property | Type | Description | |
---|---|---|---|
DistributeOverTotal | bool | ||
DistributionPoints | int | ||
EvenlySpread | bool | ||
Points | Vector3[] |
Property | Type | Description | |
---|---|---|---|
mDistribution | int | ||
mDistributionStep | float | ||
mLengths | float[] | ||
mTotalLength | float |
Method | 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 |
Method | Description | |
---|---|---|
DoGizmos ( ) : void |
public GetDistributionPoint ( int distribution, bool overTotal ) : Vector3 | ||
distribution | int | distribution index |
overTotal | bool | whether segments length will taken into the calculation |
return | Vector3 |
public GetPosition ( MBParticle, PT ) : Vector3 | ||
PT | MBParticle, | |
return | Vector3 |
public SetDistribution ( int points, bool overTotal ) : void | ||
points | int | |
overTotal | bool | |
return | void |