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 ofAINodeAnim
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIString
mNodeName()
Returns aAIString
view of themNodeName
field.AINodeAnim.Buffer
mNodeName(java.util.function.Consumer<AIString> consumer)
Passes themNodeName
field to the specifiedConsumer
.AINodeAnim.Buffer
mNodeName(AIString value)
Copies the specifiedAIString
to themNodeName
field.int
mNumPositionKeys()
Returns the value of themNumPositionKeys
field.int
mNumRotationKeys()
Returns the value of themNumRotationKeys
field.int
mNumScalingKeys()
Returns the value of themNumScalingKeys
field.AIVectorKey.Buffer
mPositionKeys()
Returns aAIVectorKey.Buffer
view of the struct array pointed to by themPositionKeys
field.AINodeAnim.Buffer
mPositionKeys(AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Buffer
to themPositionKeys
field.int
mPostState()
Returns the value of themPostState
field.AINodeAnim.Buffer
mPostState(int value)
Sets the specified value to themPostState
field.int
mPreState()
Returns the value of themPreState
field.AINodeAnim.Buffer
mPreState(int value)
Sets the specified value to themPreState
field.AIQuatKey.Buffer
mRotationKeys()
Returns aAIQuatKey.Buffer
view of the struct array pointed to by themRotationKeys
field.AINodeAnim.Buffer
mRotationKeys(AIQuatKey.Buffer value)
Sets the address of the specifiedAIQuatKey.Buffer
to themRotationKeys
field.AIVectorKey.Buffer
mScalingKeys()
Returns aAIVectorKey.Buffer
view of the struct array pointed to by themScalingKeys
field.AINodeAnim.Buffer
mScalingKeys(AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Buffer
to themScalingKeys
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAINodeAnim.Buffer
instance 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 themNumPositionKeys
field.
-
mPositionKeys
@Nullable public AIVectorKey.Buffer mPositionKeys()
Returns aAIVectorKey.Buffer
view of the struct array pointed to by themPositionKeys
field.
-
mNumRotationKeys
public int mNumRotationKeys()
Returns the value of themNumRotationKeys
field.
-
mRotationKeys
@Nullable public AIQuatKey.Buffer mRotationKeys()
Returns aAIQuatKey.Buffer
view of the struct array pointed to by themRotationKeys
field.
-
mNumScalingKeys
public int mNumScalingKeys()
Returns the value of themNumScalingKeys
field.
-
mScalingKeys
@Nullable public AIVectorKey.Buffer mScalingKeys()
Returns aAIVectorKey.Buffer
view of the struct array pointed to by themScalingKeys
field.
-
mPreState
public int mPreState()
Returns the value of themPreState
field.
-
mPostState
public int mPostState()
Returns the value of themPostState
field.
-
mNodeName
public AINodeAnim.Buffer mNodeName(AIString value)
Copies the specifiedAIString
to themNodeName
field.
-
mNodeName
public AINodeAnim.Buffer mNodeName(java.util.function.Consumer<AIString> consumer)
Passes themNodeName
field to the specifiedConsumer
.
-
mPositionKeys
public AINodeAnim.Buffer mPositionKeys(@Nullable AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Buffer
to themPositionKeys
field.
-
mRotationKeys
public AINodeAnim.Buffer mRotationKeys(@Nullable AIQuatKey.Buffer value)
Sets the address of the specifiedAIQuatKey.Buffer
to themRotationKeys
field.
-
mScalingKeys
public AINodeAnim.Buffer mScalingKeys(@Nullable AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Buffer
to themScalingKeys
field.
-
mPreState
public AINodeAnim.Buffer mPreState(int value)
Sets the specified value to themPreState
field.
-
mPostState
public AINodeAnim.Buffer mPostState(int value)
Sets the specified value to themPostState
field.
-
-