C# Class MBParticleVelocity, Pharos

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

Base velocity in units/second
public float Base
return float

CurveBase public_oe property

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

CurveLife public_oe property

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

RandomPercent public_oe property

Random deviation from Base
public float RandomPercent
return float

Relative public_oe property

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