C# Class MBParticleVelocity, Pharos

Inheritance: MBParameter
Show file Open project: rstaewen/Pharos

Public Properties

Property Type Description
Base float
CurveBase UnityEngine.AnimationCurve
CurveLife UnityEngine.AnimationCurve
RandomPercent float
Relative bool

Public Methods

Method Description
OnBirth ( MBParticle, PT ) : void
OnLifetime ( MBParticle, PT ) : bool
Purge ( ) : void
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

Purge() public method

public Purge ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Property Details

Base public property

Base velocity in units/second
public float Base
return float

CurveBase public property

Base Velocity curve
public AnimationCurve,UnityEngine CurveBase
return UnityEngine.AnimationCurve

CurveLife public property

Velocity change (Relative==true) or absolute (Relative==false) velocity
public AnimationCurve,UnityEngine CurveLife
return UnityEngine.AnimationCurve

RandomPercent public property

Random deviation from Base
public float RandomPercent
return float

Relative public property

Whether CurveLife defines an acceleration or a fixed velocity
public bool Relative
return bool