C# Class MBParticleOrientation, Pharos

Inheritance: MBParameter
Show file Open project: rstaewen/Pharos

Public Properties

Property Type Description
ArcRange float
Base float
FixedRandomPercent float
FixedRandomSign bool
FixedTurnSpeed float
Mode MBOrientationMode
Offset float

Public Methods

Method Description
OnBirth ( MBParticle, PT ) : void
OnLifetime ( MBParticle, PT ) : bool
Reset ( ) : void

Method Details

OnBirth() public method

public OnBirth ( MBParticle, PT ) : void
PT MBParticle,
return void

OnLifetime() public method

public OnLifetime ( MBParticle, PT ) : bool
PT MBParticle,
return bool

Reset() public method

public Reset ( ) : void
return void

Property Details

ArcRange public property

Random angle in degrees offset to Base
public float ArcRange
return float

Base public property

Base orientation in degrees
public float Base
return float

FixedRandomPercent public property

Random deviation from FixedTurnSpeed
Only available when Mode is set to MBOrientationMode.Turn
public float FixedRandomPercent
return float

FixedRandomSign public property

Random direction for FixedTurnSpeed
Only available when Mode is set to MBOrientationMode.Turn
public bool FixedRandomSign
return bool

FixedTurnSpeed public property

Angular Velocity in degrees/second
Only available when Mode is set to MBOrientationMode.Turn
public float FixedTurnSpeed
return float

Mode public property

Orientation Mode used when AnimatedLife is true
public MBOrientationMode Mode
return MBOrientationMode

Offset public property

Offset rotates source texture before calculating anything else
public float Offset
return float