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
-
-
-
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
-
mNodeName
public AIString mNodeName()
- Returns:
- a
AIString
view of theAINodeAnim.mNodeName()
field.
-
mNumPositionKeys
public int mNumPositionKeys()
- Returns:
- the value of the
AINodeAnim.mNumPositionKeys()
field.
-
mPositionKeys
@Nullable public AIVectorKey.Buffer mPositionKeys()
- Returns:
- a
AIVectorKey.Buffer
view of the struct array pointed to by theAINodeAnim.mPositionKeys()
field.
-
mNumRotationKeys
public int mNumRotationKeys()
- Returns:
- the value of the
AINodeAnim.mNumRotationKeys()
field.
-
mRotationKeys
@Nullable public AIQuatKey.Buffer mRotationKeys()
- Returns:
- a
AIQuatKey.Buffer
view of the struct array pointed to by theAINodeAnim.mRotationKeys()
field.
-
mNumScalingKeys
public int mNumScalingKeys()
- Returns:
- the value of the
AINodeAnim.mNumScalingKeys()
field.
-
mScalingKeys
@Nullable public AIVectorKey.Buffer mScalingKeys()
- Returns:
- a
AIVectorKey.Buffer
view of the struct array pointed to by theAINodeAnim.mScalingKeys()
field.
-
mPreState
public int mPreState()
- Returns:
- the value of the
AINodeAnim.mPreState()
field.
-
mPostState
public int mPostState()
- Returns:
- the value of the
AINodeAnim.mPostState()
field.
-
mNodeName
public AINodeAnim.Buffer mNodeName(AIString value)
Copies the specifiedAIString
to theAINodeAnim.mNodeName()
field.
-
mNodeName
public AINodeAnim.Buffer mNodeName(java.util.function.Consumer<AIString> consumer)
Passes theAINodeAnim.mNodeName()
field to the specifiedConsumer
.
-
mPositionKeys
public AINodeAnim.Buffer mPositionKeys(@Nullable AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Buffer
to theAINodeAnim.mPositionKeys()
field.
-
mRotationKeys
public AINodeAnim.Buffer mRotationKeys(@Nullable AIQuatKey.Buffer value)
Sets the address of the specifiedAIQuatKey.Buffer
to theAINodeAnim.mRotationKeys()
field.
-
mScalingKeys
public AINodeAnim.Buffer mScalingKeys(@Nullable AIVectorKey.Buffer value)
Sets the address of the specifiedAIVectorKey.Buffer
to theAINodeAnim.mScalingKeys()
field.
-
mPreState
public AINodeAnim.Buffer mPreState(int value)
Sets the specified value to theAINodeAnim.mPreState()
field.
-
mPostState
public AINodeAnim.Buffer mPostState(int value)
Sets the specified value to theAINodeAnim.mPostState()
field.
-
-