Package org.lwjgl.assimp
Class AINodeAnim.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AINodeAnim,AINodeAnim.Buffer>
-
- org.lwjgl.assimp.AINodeAnim.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AINodeAnim>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AINodeAnim
public static class AINodeAnim.Buffer extends org.lwjgl.system.StructBuffer<AINodeAnim,AINodeAnim.Buffer> implements org.lwjgl.system.NativeResource
An array ofAINodeAnimstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIStringmNodeName()Returns aAIStringview of themNodeNamefield.AINodeAnim.BuffermNodeName(java.util.function.Consumer<AIString> consumer)Passes themNodeNamefield to the specifiedConsumer.AINodeAnim.BuffermNodeName(AIString value)Copies the specifiedAIStringto themNodeNamefield.intmNumPositionKeys()Returns the value of themNumPositionKeysfield.intmNumRotationKeys()Returns the value of themNumRotationKeysfield.intmNumScalingKeys()Returns the value of themNumScalingKeysfield.AIVectorKey.BuffermPositionKeys()Returns aAIVectorKey.Bufferview of the struct array pointed to by themPositionKeysfield.AINodeAnim.BuffermPositionKeys(AIVectorKey.Buffer value)Sets the address of the specifiedAIVectorKey.Bufferto themPositionKeysfield.intmPostState()Returns the value of themPostStatefield.AINodeAnim.BuffermPostState(int value)Sets the specified value to themPostStatefield.intmPreState()Returns the value of themPreStatefield.AINodeAnim.BuffermPreState(int value)Sets the specified value to themPreStatefield.AIQuatKey.BuffermRotationKeys()Returns aAIQuatKey.Bufferview of the struct array pointed to by themRotationKeysfield.AINodeAnim.BuffermRotationKeys(AIQuatKey.Buffer value)Sets the address of the specifiedAIQuatKey.Bufferto themRotationKeysfield.AIVectorKey.BuffermScalingKeys()Returns aAIVectorKey.Bufferview of the struct array pointed to by themScalingKeysfield.AINodeAnim.BuffermScalingKeys(AIVectorKey.Buffer value)Sets the address of the specifiedAIVectorKey.Bufferto themScalingKeysfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAINodeAnim.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byAINodeAnim.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
mNumPositionKeys
public int mNumPositionKeys()
Returns the value of themNumPositionKeysfield.
-
mPositionKeys
@Nullable public AIVectorKey.Buffer mPositionKeys()
Returns aAIVectorKey.Bufferview of the struct array pointed to by themPositionKeysfield.
-
mNumRotationKeys
public int mNumRotationKeys()
Returns the value of themNumRotationKeysfield.
-
mRotationKeys
@Nullable public AIQuatKey.Buffer mRotationKeys()
Returns aAIQuatKey.Bufferview of the struct array pointed to by themRotationKeysfield.
-
mNumScalingKeys
public int mNumScalingKeys()
Returns the value of themNumScalingKeysfield.
-
mScalingKeys
@Nullable public AIVectorKey.Buffer mScalingKeys()
Returns aAIVectorKey.Bufferview of the struct array pointed to by themScalingKeysfield.
-
mPreState
public int mPreState()
Returns the value of themPreStatefield.
-
mPostState
public int mPostState()
Returns the value of themPostStatefield.
-
mNodeName
public AINodeAnim.Buffer mNodeName(AIString value)
Copies the specifiedAIStringto themNodeNamefield.
-
mNodeName
public AINodeAnim.Buffer mNodeName(java.util.function.Consumer<AIString> consumer)
Passes themNodeNamefield to the specifiedConsumer.
-
mPositionKeys
public AINodeAnim.Buffer mPositionKeys(@Nullable AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Bufferto themPositionKeysfield.
-
mRotationKeys
public AINodeAnim.Buffer mRotationKeys(@Nullable AIQuatKey.Buffer value)
Sets the address of the specifiedAIQuatKey.Bufferto themRotationKeysfield.
-
mScalingKeys
public AINodeAnim.Buffer mScalingKeys(@Nullable AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Bufferto themScalingKeysfield.
-
mPreState
public AINodeAnim.Buffer mPreState(int value)
Sets the specified value to themPreStatefield.
-
mPostState
public AINodeAnim.Buffer mPostState(int value)
Sets the specified value to themPostStatefield.
-
-