Assimp  v3.1.1 (June 2014)
jassimp.AiAnimBehavior Enum Reference

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...
 

Detailed Description

Defines how an animation channel behaves outside the defined time range.

Member Function Documentation

static AiAnimBehavior jassimp.AiAnimBehavior.fromRawValue ( int  rawValue)
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.

Parameters
rawValuean integer based enum value (as defined by assimp)
Returns
the enum value corresponding to rawValue

Member Data Documentation

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|).


The documentation for this enum was generated from the following file: