This means all keys are absolute and not relative to the bone default pose. The order in which the transformations are applied is - as usual - scaling, rotation, translation.
All keys are returned in their correct, chronological order. Duplicate keys don't pass the validation step. Most likely there will be no negative time values, but they are not forbidden also ( so implementations need to cope with them! )
struct aiNodeAnim {
struct aiString mNodeName;
unsigned int mNumPositionKeys;
struct aiVectorKey * mPositionKeys;
unsigned int mNumRotationKeys;
struct aiQuatKey * mRotationKeys;
unsigned int mNumScalingKeys;
struct aiVectorKey * mScalingKeys;
aiAnimBehaviour mPreState;
aiAnimBehaviour mPostState;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AINodeAnim.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MNODENAME
The struct member offsets. |
| public static final int | MNUMPOSITIONKEYS
The struct member offsets. |
| public static final int | MNUMROTATIONKEYS
The struct member offsets. |
| public static final int | MNUMSCALINGKEYS
The struct member offsets. |
| public static final int | MPOSITIONKEYS
The struct member offsets. |
| public static final int | MPOSTSTATE
The struct member offsets. |
| public static final int | MPRESTATE
The struct member offsets. |
| public static final int | MROTATIONKEYS
The struct member offsets. |
| public static final int | MSCALINGKEYS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AINodeAnim(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static AINodeAnim | |
| public static AINodeAnim. | calloc(int
the buffer capacity capacity)Returns a new |
| public static AINodeAnim | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AINodeAnim. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AINodeAnim | |
| public static AINodeAnim | |
| public static AINodeAnim. | |
| public static AINodeAnim. | |
| protected AINodeAnim | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static AINodeAnim | |
| public static AINodeAnim | |
| public static AINodeAnim. | create(int
the buffer capacity capacity)Returns a new |
| public static AINodeAnim. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AINodeAnim | |
| public static AINodeAnim. | |
| public static AINodeAnim | |
| public static AINodeAnim. | malloc(int
the buffer capacity capacity)Returns a new |
| public static AINodeAnim | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AINodeAnim. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AINodeAnim | |
| public static AINodeAnim | |
| public static AINodeAnim. | |
| public static AINodeAnim. | |
| public AIString | |
| public AINodeAnim | |
| public AINodeAnim | |
| public int | |
| public int | |
| public int | |
| public AIVectorKey. | |
| public AINodeAnim | mPositionKeys(AIVectorKey.
Sets the address of the specified |
| public int | |
| public AINodeAnim | |
| public int | |
| public AINodeAnim | |
| public AIQuatKey. | |
| public AINodeAnim | mRotationKeys(AIQuatKey.
Sets the address of the specified |
| public AIVectorKey. | |
| public AINodeAnim | mScalingKeys(AIVectorKey.
Sets the address of the specified |
| public static AIString | |
| public static void | |
| public static int | |
| public static void | nmNumPositionKeys(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nmNumRotationKeys(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nmNumScalingKeys(long struct, int value)
Sets the specified value to the |
| public static AIVectorKey. | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static AIQuatKey. | |
| public static void | |
| public static AIVectorKey. | |
| public static void | |
| public AINodeAnim | set(AIString mNodeName, AIVectorKey.
Initializes this struct with the specified values. |
| public AINodeAnim | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |