Impact CFX API 1.5.0
Comprehensive API documentation for Impact CFX - Collision Effects System
|
Class for editing effect modifiers based on velocity. More...
Public Member Functions | |
float | Evaluate (float velocity) |
Evaluates the modifier multiplier using the given velocity. | |
Public Attributes | |
bool | Enabled |
Is this modifier enabled? | |
Range | VelocityRange = new Range(1, 10) |
The velocity range to compare the collision velocity against. | |
AnimationCurve | Curve = AnimationCurve.Linear(0, 0, 1, 1) |
The curve used to evaluate the modifier. | |
Class for editing effect modifiers based on velocity.
float ImpactCFX.EffectVelocityModifier.Evaluate | ( | float | velocity | ) |
Evaluates the modifier multiplier using the given velocity.
velocity | The velocity value. |