public static class AIAnimation.Buffer extends org.lwjgl.system.StructBuffer<AIAnimation,AIAnimation.Buffer> implements org.lwjgl.system.NativeResource
AIAnimation structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIAnimation.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
org.lwjgl.PointerBuffer |
mChannels()
Returns a
PointerBuffer view of the data pointed to by the mChannels field. |
AIAnimation.Buffer |
mChannels(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the mChannels field. |
double |
mDuration()
Returns the value of the
mDuration field. |
AIAnimation.Buffer |
mDuration(double value)
Sets the specified value to the
mDuration field. |
org.lwjgl.PointerBuffer |
mMeshChannels()
Returns a
PointerBuffer view of the data pointed to by the mMeshChannels field. |
AIAnimation.Buffer |
mMeshChannels(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the mMeshChannels field. |
org.lwjgl.PointerBuffer |
mMorphMeshChannels()
Returns a
PointerBuffer view of the data pointed to by the mMorphMeshChannels field. |
AIAnimation.Buffer |
mMorphMeshChannels(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the mMorphMeshChannels field. |
AIString |
mName()
Returns a
AIString view of the mName field. |
AIAnimation.Buffer |
mName(AIString value)
Copies the specified
AIString to the mName field. |
AIAnimation.Buffer |
mName(java.util.function.Consumer<AIString> consumer)
Passes the
mName field to the specified Consumer. |
int |
mNumChannels()
Returns the value of the
mNumChannels field. |
int |
mNumMeshChannels()
Returns the value of the
mNumMeshChannels field. |
int |
mNumMorphMeshChannels()
Returns the value of the
mNumMorphMeshChannels field. |
double |
mTicksPerSecond()
Returns the value of the
mTicksPerSecond field. |
AIAnimation.Buffer |
mTicksPerSecond(double value)
Sets the specified value to the
mTicksPerSecond field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIAnimation.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
by AIAnimation.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public double mDuration()
mDuration field.public double mTicksPerSecond()
mTicksPerSecond field.public int mNumChannels()
mNumChannels field.@Nullable public org.lwjgl.PointerBuffer mChannels()
PointerBuffer view of the data pointed to by the mChannels field.public int mNumMeshChannels()
mNumMeshChannels field.@Nullable public org.lwjgl.PointerBuffer mMeshChannels()
PointerBuffer view of the data pointed to by the mMeshChannels field.public int mNumMorphMeshChannels()
mNumMorphMeshChannels field.@Nullable public org.lwjgl.PointerBuffer mMorphMeshChannels()
PointerBuffer view of the data pointed to by the mMorphMeshChannels field.public AIAnimation.Buffer mName(AIString value)
AIString to the mName field.public AIAnimation.Buffer mName(java.util.function.Consumer<AIString> consumer)
mName field to the specified Consumer.public AIAnimation.Buffer mDuration(double value)
mDuration field.public AIAnimation.Buffer mTicksPerSecond(double value)
mTicksPerSecond field.public AIAnimation.Buffer mChannels(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the mChannels field.public AIAnimation.Buffer mMeshChannels(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the mMeshChannels field.public AIAnimation.Buffer mMorphMeshChannels(@Nullable org.lwjgl.PointerBuffer value)
PointerBuffer to the mMorphMeshChannels field.Copyright LWJGL. All Rights Reserved. License terms.