Easing Function
Easing function which interpolates between a start and end value. Vectors are eased component-wise. The easing functions can be applied to decimal types. Linear: Interpolates between start and finish at a fixed rate. EaseIn: Starts slowly and ends fast according to an exponential, the slope is determined by the “Blend Exponent” input. EaseOut: Same as EaseIn, but starts fast and ends slow EaseInOut: Combines EaseIn and EaseOut SinIn: Starts slowly and ends fast according to a sinusoidal curve SinOut: Same as SinIn, but starts fast and ends slow SinInOut: Combines SinIn and SinOut
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Alpha (inputs:alpha) |
|
The normalized time [0 - 1.0] (inclusive). Values outside this range will be clamped. |
None |
Blend Exponent (inputs:blendExponent) |
|
The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc). This only applies to the Ease* functions. |
2 |
Operation (inputs:easeFunc) |
|
The easing function to apply (EaseIn, EaseOut, EaseInOut, Linear, SinIn, SinOut, SinInOut). |
EaseInOut |
Metadata |
allowedTokens = EaseIn,EaseOut,EaseInOut,Linear,SinIn,SinOut,SinInOut |
||
End (inputs:end) |
|
The end value at which the interpolation will end. |
None |
Start (inputs:start) |
|
The start value from which the interpolation will begin. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:result) |
|
The result of computing the configured easing function at the given normalized time value. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Ease |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Easing Function |
Categories |
math:operator |
Generated Class Name |
OgnEaseDatabase |
Python Module |
omni.graph.nodes |