A floating point value that can be used as a simple float or a weight curve evaluated by another floating point parameter. More...
Public Types | |
enum | Mode |
Simple float value or a curve evaluated by another floating point parameter. More... | |
Public Member Functions | |
Weight (float floatValue) | |
Initializes a new instance of the RootMotion.Dynamics.Weight class. More... | |
Weight (float floatValue, string tooltip) | |
Initializes a new instance of the RootMotion.Dynamics.Weight class. More... | |
float | GetValue (float param) |
Gets the value. If in 'Float' mode, will return floatValue, if 'Curve' mode, will return the curve's value evaluated at 'param'. More... | |
Public Attributes | |
Mode | mode |
Simple float value or a curve evaluated by another floating point parameter. More... | |
float | floatValue |
The float value. More... | |
AnimationCurve | curve |
The AnimationCurve. More... | |
A floating point value that can be used as a simple float or a weight curve evaluated by another floating point parameter.