C# Class MBParticleSize, Pharos

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

Base size in units
public Vector2 Base
return Vector2

ConstrainAxis public_oe property

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

CurveBirthX public_oe property

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

CurveBirthY public_oe property

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

CurveLifeX public_oe property

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

CurveLifeY public_oe property

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

DieOnZero public_oe property

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

RandomPercent public_oe property

Random deviation from Base
public float RandomPercent
return float

Relative public_oe property

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