Particle Playground - Script Reference
3.0.1
Framework for controlling particles in the Unity Engine.
|
Holds AnimationCurves in X, Y and Z variables. More...
Public Member Functions | |
Vector3 | Evaluate (float time) |
Evaluate the specified time. More... | |
Vector3 | Evaluate (float time, float scale) |
Evaluates the specified time and apply scale. More... | |
bool | HasKeys () |
Determines whether this Vector3AnimationCurveC has keys in X, Y or Z AnimationCurves. More... | |
void | SetKeyValues (int key, float value) |
Sets the key values. More... | |
void | SetKeyValues (int key, Vector3 value, float inTangent, float outTangent) |
Sets the key values. More... | |
void | Reset () |
Resets this instance with value of 0. More... | |
void | Reset1 () |
Resets this instance with value of 1. More... | |
void | ResetWithMidKey () |
Resets this instance with three keyframes. More... | |
void | CheckNull () |
Vector3AnimationCurveC | Clone () |
Returns a copy of this Vector3AnimationCurve. More... | |
Public Attributes | |
AnimationCurve | x |
AnimationCurve | y |
AnimationCurve | z |
float | xRepeat = 1f |
float | yRepeat = 1f |
float | zRepeat = 1f |
Holds AnimationCurves in X, Y and Z variables.
Vector3AnimationCurveC ParticlePlayground.Vector3AnimationCurveC.Clone | ( | ) |
Returns a copy of this Vector3AnimationCurve.
Vector3 ParticlePlayground.Vector3AnimationCurveC.Evaluate | ( | float | time | ) |
Evaluate the specified time.
time | Time. |
Vector3 ParticlePlayground.Vector3AnimationCurveC.Evaluate | ( | float | time, |
float | scale | ||
) |
Evaluates the specified time and apply scale.
time | Time. |
scale | Scale. |
bool ParticlePlayground.Vector3AnimationCurveC.HasKeys | ( | ) |
Determines whether this Vector3AnimationCurveC has keys in X, Y or Z AnimationCurves.
true
if this instance has keys; otherwise, false
.void ParticlePlayground.Vector3AnimationCurveC.Reset | ( | ) |
Resets this instance with value of 0.
void ParticlePlayground.Vector3AnimationCurveC.Reset1 | ( | ) |
Resets this instance with value of 1.
void ParticlePlayground.Vector3AnimationCurveC.ResetWithMidKey | ( | ) |
Resets this instance with three keyframes.
void ParticlePlayground.Vector3AnimationCurveC.SetKeyValues | ( | int | key, |
float | value | ||
) |
Sets the key values.
key | X, Y and Z key. |
value | Value as float. |
void ParticlePlayground.Vector3AnimationCurveC.SetKeyValues | ( | int | key, |
Vector3 | value, | ||
float | inTangent, | ||
float | outTangent | ||
) |
Sets the key values.
key | X, Y and Z key. |
value | Value as Vector3. |