Particle Playground - Script Reference  3.0.1
Framework for controlling particles in the Unity Engine.
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
ParticlePlayground.Vector3AnimationCurveC Class Reference

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
 

Detailed Description

Holds AnimationCurves in X, Y and Z variables.

Member Function Documentation

Vector3AnimationCurveC ParticlePlayground.Vector3AnimationCurveC.Clone ( )

Returns a copy of this Vector3AnimationCurve.

Vector3 ParticlePlayground.Vector3AnimationCurveC.Evaluate ( float  time)

Evaluate the specified time.

Parameters
timeTime.
Vector3 ParticlePlayground.Vector3AnimationCurveC.Evaluate ( float  time,
float  scale 
)

Evaluates the specified time and apply scale.

Parameters
timeTime.
scaleScale.
bool ParticlePlayground.Vector3AnimationCurveC.HasKeys ( )

Determines whether this Vector3AnimationCurveC has keys in X, Y or Z AnimationCurves.

Returns
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.

Parameters
keyX, Y and Z key.
valueValue as float.
void ParticlePlayground.Vector3AnimationCurveC.SetKeyValues ( int  key,
Vector3  value,
float  inTangent,
float  outTangent 
)

Sets the key values.

Parameters
keyX, Y and Z key.
valueValue as Vector3.

The documentation for this class was generated from the following file: