C# Class MBParticleSize, Pharos

Inheritance: MBParameter
Show file Open project: rstaewen/Pharos

Public Properties

Property Type Description
Base Vector2
ConstrainAxis bool
CurveBirthX UnityEngine.AnimationCurve
CurveBirthY UnityEngine.AnimationCurve
CurveLifeX UnityEngine.AnimationCurve
CurveLifeY UnityEngine.AnimationCurve
DieOnZero bool
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 size in units
public Vector2 Base
return Vector2

ConstrainAxis public property

Whether axis are handled independently or separate
public bool ConstrainAxis
return bool

CurveBirthX public property

Base x-axis size in units
public AnimationCurve,UnityEngine CurveBirthX
return UnityEngine.AnimationCurve

CurveBirthY public property

Base y-axis size in units
public AnimationCurve,UnityEngine CurveBirthY
return UnityEngine.AnimationCurve

CurveLifeX public property

x-axis growth (Relative==true) or size (Relative==false)
public AnimationCurve,UnityEngine CurveLifeX
return UnityEngine.AnimationCurve

CurveLifeY public property

y-axis growth (Relative==true) or size (Relative==false)
public AnimationCurve,UnityEngine CurveLifeY
return UnityEngine.AnimationCurve

DieOnZero public property

Whether particles should die automatically when at least one axis falls below 0
public bool DieOnZero
return bool

RandomPercent public property

Random deviation from Base
public float RandomPercent
return float

Relative public property

Whether CurveLifeX and CurveLifeY defines a growth or a fix size
public bool Relative
return bool