Method | Description | |
---|---|---|
getKey ( RenderBase sourceFrame, float frame ) : float |
Interpolates a Key Frame from a list of Key Frames.
|
|
getLeftFrame ( List |
Gets the rounded down frame relative to the given Key Frame.
|
|
getRightFrame ( List |
Gets the rounded up frame relative to the given Key Frame.
|
|
interpolateHermite ( List |
Interpolates a point between two Key Frames on a given Frame using Hermite Interpolation.
|
|
interpolateLinear ( RenderBase a, RenderBase b, float mu ) : RenderBase.OVector3 |
Interpolates a point between two vectors using Linear Interpolation.
|
|
interpolateLinear ( RenderBase a, RenderBase b, float mu ) : RenderBase.OVector4 |
Interpolates a point between two vectors using Linear Interpolation.
|
|
interpolateLinear ( List |
Interpolates a point between two Key Frames on a given Frame using Linear Interpolation.
|
|
interpolateLinear ( float a, float b, float mu ) : float |
Interpolates a point between two points using Linear Interpolation.
|
|
interpolateStep ( List |
Gets the smaller point between two Key Frames. It doesn't actually interpolates anything, just returns the closest value.
|
public static getKey ( RenderBase sourceFrame, float frame ) : float | ||
sourceFrame | RenderBase | The list of key frames |
frame | float | The frame that should be returned or interpolated from the list |
return | float |
public static getLeftFrame ( List |
||
keyFrames | List |
List with the Key Frames |
frame | float | The frame number used as reference |
return | RenderBase.OAnimationKeyFrame |
public static getRightFrame ( List |
||
keyFrames | List |
List with the Key Frames |
frame | float | The frame number used as reference |
return | RenderBase.OAnimationKeyFrame |
public static interpolateHermite ( List |
||
keyFrames | List |
The list with all available Key Frames (Hermite format) |
frame | float | The frame number that should be interpolated |
return | float |
public static interpolateLinear ( RenderBase a, RenderBase b, float mu ) : RenderBase.OVector3 | ||
a | RenderBase | First vector |
b | RenderBase | Second vector |
mu | float | Value between 0-1 of the interpolation amount |
return | RenderBase.OVector3 |
public static interpolateLinear ( RenderBase a, RenderBase b, float mu ) : RenderBase.OVector4 | ||
a | RenderBase | First vector |
b | RenderBase | Second vector |
mu | float | Value between 0-1 of the interpolation amount |
return | RenderBase.OVector4 |
public static interpolateLinear ( List |
||
keyFrames | List |
The list with all available Key Frames (Linear format) |
frame | float | The frame number that should be interpolated |
return | float |
public static interpolateLinear ( float a, float b, float mu ) : float | ||
a | float | First point |
b | float | Second point |
mu | float | Value between 0-1 of the interpolation amount |
return | float |
public static interpolateStep ( List |
||
keyFrames | List |
The list with all available Key Frames (Linear format) |
frame | float | The frame number that should be returned |
return | float |