C# Class MBParticleOrientation, Pharos

Inheritance: MBParameter
Exibir arquivo 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_oe property

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

Base public_oe property

Base orientation in degrees
public float Base
return float

FixedRandomPercent public_oe property

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

FixedRandomSign public_oe property

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

FixedTurnSpeed public_oe property

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

Mode public_oe property

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

Offset public_oe property

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