Assimp
v3.1.1 (June 2014)
|
Defines how an animation channel behaves outside the defined time range. More...
Static Public Member Functions | |
static AiAnimBehavior | fromRawValue (int rawValue) |
Utility method for converting from c/c++ based integer enums to java enums. More... | |
Public Attributes | |
CONSTANT =(0x1) | |
The nearest key value is used without interpolation. More... | |
DEFAULT =(0x0) | |
The value from the default node transformation is taken. More... | |
LINEAR =(0x2) | |
The value of the nearest two keys is linearly extrapolated for the current time value. More... | |
REPEAT =(0x3) | |
The animation is repeated. More... | |
Defines how an animation channel behaves outside the defined time range.
|
inlinestatic |
Utility method for converting from c/c++ based integer enums to java enums.
This method is intended to be used from JNI and my change based on implementation needs.
rawValue | an integer based enum value (as defined by assimp) |
jassimp.AiAnimBehavior.CONSTANT =(0x1) |
The nearest key value is used without interpolation.
jassimp.AiAnimBehavior.DEFAULT =(0x0) |
The value from the default node transformation is taken.
jassimp.AiAnimBehavior.LINEAR =(0x2) |
The value of the nearest two keys is linearly extrapolated for the current time value.
jassimp.AiAnimBehavior.REPEAT =(0x3) |
The animation is repeated.
If the animation key go from n to m and the current time is t, use the value at (t-n) % (|m-n|).