Particle Playground - Script Reference
3.0.1
Framework for controlling particles in the Unity Engine.
|
Holds information for a Math Manipulator. This can be used to apply extensive particle behaviors, such as positioning or changing sizes using sine, cosine or linear interpolation math. More...
Public Member Functions | |
void | Update (Vector3 position) |
Updates the position for this MathManipulatorProperty. This happens automatically each frame for a Math Manipulator. More... | |
Vector3 | Evaluate (Vector3 inValue, float time) |
Evaluate the specified in-value and time. More... | |
Vector3 | EvaluatePosition (Vector3 inValue, float time) |
Evaluate the specified in-value and time. This overload is specifically adapted for if you want to clamp position alongside the Manipulator's position. More... | |
float | Evaluate (float inValue, float time) |
Evaluate the specified in-value and time. More... | |
MathManipulatorProperty | Clone () |
Returns a clone of this MathManipulatorProperty. More... | |
Public Attributes | |
MATHMANIPULATORTYPE | type |
MATHMANIPULATORPROPERTY | property |
MATHMANIPULATORCLAMP | clamp |
float | clampCeil = 10f |
float | clampFloor = 0 |
float | value = 1f |
Vector3 | value3 = Vector3.up |
float | rate = 1f |
Vector3 | rate3 = Vector3.up |
Holds information for a Math Manipulator. This can be used to apply extensive particle behaviors, such as positioning or changing sizes using sine, cosine or linear interpolation math.
MathManipulatorProperty ParticlePlayground.MathManipulatorProperty.Clone | ( | ) |
Returns a clone of this MathManipulatorProperty.
Evaluate the specified in-value and time.
inValue | In value. |
time | Time. |
float ParticlePlayground.MathManipulatorProperty.Evaluate | ( | float | inValue, |
float | time | ||
) |
Evaluate the specified in-value and time.
inValue | In value. |
time | Time. |
Evaluate the specified in-value and time. This overload is specifically adapted for if you want to clamp position alongside the Manipulator's position.
inValue | In value. |
time | Time. |
void ParticlePlayground.MathManipulatorProperty.Update | ( | Vector3 | position | ) |
Updates the position for this MathManipulatorProperty. This happens automatically each frame for a Math Manipulator.