Top Description Inners Fields Constructors Methods
org.lwjgl.assimp

public Class AISkeletonBone

extends Struct<AISkeletonBone>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct aiSkeletonBone
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

A skeleton bone represents a single bone is a skeleton structure.

Skeleton-Animations can be represented via a skeleton struct, which describes a hierarchical tree assembled from skeleton bones. A bone is linked to a mesh. The bone knows its parent bone. If there is no parent bone the parent id is marked with -1.

The skeleton-bone stores a pointer to its used armature. If there is no armature this value if set to nullptr.

A skeleton bone stores its offset-matrix, which is the absolute transformation for the bone. The bone stores the locale transformation to its parent as well. You can compute the offset matrix by multiplying the hierarchy like:


Tree: s1 -> s2 -> s3
Offset-Matrix s3 = locale-s3 * locale-s2 * locale-s1

Layout


struct aiSkeletonBone {
    int mParent;
    struct aiNode * mArmature;
    struct aiNode * mNode;
    unsigned int mNumnWeights;
    struct aiMesh * mMeshId;
    struct aiVertexWeight * mWeights;
    struct aiMatrix4x4 mOffsetMatrix;
    struct aiMatrix4x4 mLocalMatrix;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
MARMATURE

The struct member offsets.

public static final int
MLOCALMATRIX

The struct member offsets.

public static final int
MMESHID

The struct member offsets.

public static final int
MNODE

The struct member offsets.

public static final int
MNUMNWEIGHTS

The struct member offsets.

public static final int
MOFFSETMATRIX

The struct member offsets.

public static final int
MPARENT

The struct member offsets.

public static final int
MWEIGHTS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
AISkeletonBone(long address, ByteBuffer container)

public
AISkeletonBone(ByteBuffer container)

Creates a AISkeletonBone instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static AISkeletonBone
calloc()

Returns a new AISkeletonBone instance allocated with memCalloc.

public static AISkeletonBone.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new AISkeletonBone.Buffer instance allocated with memCalloc.

public static AISkeletonBone
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new AISkeletonBone instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static AISkeletonBone.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new AISkeletonBone.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected AISkeletonBone
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static AISkeletonBone
create()

Returns a new AISkeletonBone instance allocated with BufferUtils.

public static AISkeletonBone
create(long address)

Returns a new AISkeletonBone instance for the specified memory address.

public static AISkeletonBone.Buffer
create(int
the buffer capacity
capacity
)

Returns a new AISkeletonBone.Buffer instance allocated with BufferUtils.

public static AISkeletonBone.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a AISkeletonBone.Buffer instance at the specified memory.

public static AISkeletonBone
createSafe(long address)

Like create, but returns null if address is NULL.

public static AISkeletonBone.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static AISkeletonBone
malloc()

Returns a new AISkeletonBone instance allocated with memAlloc.

public static AISkeletonBone.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new AISkeletonBone.Buffer instance allocated with memAlloc.

public static AISkeletonBone
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new AISkeletonBone instance allocated on the specified MemoryStack.

public static AISkeletonBone.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new AISkeletonBone.Buffer instance allocated on the specified MemoryStack.

public AINode
mArmature()

The bone armature node - used for skeleton conversion.

public AISkeletonBone
mArmature(AINode value)

Sets the address of the specified AINode to the mArmature field.

public AIMatrix4x4
mLocalMatrix()

matrix that transforms the local bone in bind pose

public AISkeletonBone
mLocalMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the mLocalMatrix field.

public AISkeletonBone
mLocalMatrix(Consumer<AIMatrix4x4> consumer)

Passes the mLocalMatrix field to the specified Consumer.

public AIMesh.Buffer
mMeshId()

the mesh index, which will get influenced by the weight

public AISkeletonBone
mMeshId(AIMesh.Buffer value)

Sets the address of the specified AIMesh.Buffer to the mMeshId field.

public AINode
mNode()

The bone node in the scene - used for skeleton conversion.

public AISkeletonBone
mNode(AINode value)

Sets the address of the specified AINode to the mNode field.

public int
mNumnWeights()

the number of weights

public AISkeletonBone
mNumnWeights(int value)

Sets the specified value to the mNumnWeights field.

public AIMatrix4x4
mOffsetMatrix()

Matrix that transforms from bone space to mesh space in bind pose.

public AISkeletonBone
mOffsetMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the mOffsetMatrix field.

public AISkeletonBone
mOffsetMatrix(Consumer<AIMatrix4x4> consumer)

Passes the mOffsetMatrix field to the specified Consumer.

public int
mParent()

the parent bone index, is -1 one if this bone represents the root bone

public AISkeletonBone
mParent(int value)

Sets the specified value to the mParent field.

public AIVertexWeight.Buffer
mWeights()

the influence weights of this bone, by vertex index

public AISkeletonBone
mWeights(AIVertexWeight.Buffer value)

Sets the address of the specified AIVertexWeight.Buffer to the mWeights field.

public static AINode
nmArmature(long struct)

Unsafe version of mArmature.

public static void
nmArmature(long struct, AINode value)

Unsafe version of mArmature.

public static AIMatrix4x4
nmLocalMatrix(long struct)

Unsafe version of mLocalMatrix.

public static void
nmLocalMatrix(long struct, AIMatrix4x4 value)

Unsafe version of mLocalMatrix.

public static AIMesh.Buffer
nmMeshId(long struct)

Unsafe version of mMeshId.

public static void
nmMeshId(long struct, AIMesh.Buffer value)

Unsafe version of mMeshId.

public static AINode
nmNode(long struct)

Unsafe version of mNode.

public static void
nmNode(long struct, AINode value)

Unsafe version of mNode.

public static int
nmNumnWeights(long struct)

Unsafe version of mNumnWeights.

public static void
nmNumnWeights(long struct, int value)

Sets the specified value to the mNumnWeights field of the specified struct.

public static AIMatrix4x4
nmOffsetMatrix(long struct)

Unsafe version of mOffsetMatrix.

public static void
nmOffsetMatrix(long struct, AIMatrix4x4 value)

Unsafe version of mOffsetMatrix.

public static int
nmParent(long struct)

Unsafe version of mParent.

public static void
nmParent(long struct, int value)

Unsafe version of mParent.

public static AIVertexWeight.Buffer
nmWeights(long struct)

Unsafe version of mWeights.

public static void
nmWeights(long struct, AIVertexWeight.Buffer value)

Unsafe version of mWeights.

public AISkeletonBone
set(int mParent, AINode mArmature, AINode mNode, int mNumnWeights, AIMesh.Buffer mMeshId, AIVertexWeight.Buffer mWeights, AIMatrix4x4 mOffsetMatrix, AIMatrix4x4 mLocalMatrix)

Initializes this struct with the specified values.

public AISkeletonBone

Returns:

this struct
set
(AISkeletonBone
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

MARMATUREback to summary
public static final int MARMATURE

The struct member offsets.

MLOCALMATRIXback to summary
public static final int MLOCALMATRIX

The struct member offsets.

MMESHIDback to summary
public static final int MMESHID

The struct member offsets.

MNODEback to summary
public static final int MNODE

The struct member offsets.

MNUMNWEIGHTSback to summary
public static final int MNUMNWEIGHTS

The struct member offsets.

MOFFSETMATRIXback to summary
public static final int MOFFSETMATRIX

The struct member offsets.

MPARENTback to summary
public static final int MPARENT

The struct member offsets.

MWEIGHTSback to summary
public static final int MWEIGHTS

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

AISkeletonBoneback to summary
protected AISkeletonBone(long address, ByteBuffer container)
AISkeletonBoneback to summary
public AISkeletonBone(ByteBuffer container)

Creates a AISkeletonBone instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static AISkeletonBone calloc()

Returns a new AISkeletonBone instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static AISkeletonBone.Buffer calloc(int capacity)

Returns a new AISkeletonBone.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static AISkeletonBone calloc(MemoryStack stack)

Returns a new AISkeletonBone instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static AISkeletonBone.Buffer calloc(int capacity, MemoryStack stack)

Returns a new AISkeletonBone.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected AISkeletonBone create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static AISkeletonBone create()

Returns a new AISkeletonBone instance allocated with BufferUtils.

createback to summary
public static AISkeletonBone create(long address)

Returns a new AISkeletonBone instance for the specified memory address.

createback to summary
public static AISkeletonBone.Buffer create(int capacity)

Returns a new AISkeletonBone.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static AISkeletonBone.Buffer create(long address, int capacity)

Create a AISkeletonBone.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static AISkeletonBone createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static AISkeletonBone.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static AISkeletonBone malloc()

Returns a new AISkeletonBone instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static AISkeletonBone.Buffer malloc(int capacity)

Returns a new AISkeletonBone.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static AISkeletonBone malloc(MemoryStack stack)

Returns a new AISkeletonBone instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static AISkeletonBone.Buffer malloc(int capacity, MemoryStack stack)

Returns a new AISkeletonBone.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mArmatureback to summary
public AINode mArmature()

The bone armature node - used for skeleton conversion.

You must enable Process_PopulateArmatureData to populate this.

Annotations
@Nullable
@NativeType:struct aiNode *
mArmatureback to summary
public AISkeletonBone mArmature(AINode value)

Sets the address of the specified AINode to the mArmature field.

mLocalMatrixback to summary
public AIMatrix4x4 mLocalMatrix()

matrix that transforms the local bone in bind pose

Annotations
@NativeType:struct aiMatrix4x4
mLocalMatrixback to summary
public AISkeletonBone mLocalMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the mLocalMatrix field.

mLocalMatrixback to summary
public AISkeletonBone mLocalMatrix(Consumer<AIMatrix4x4> consumer)

Passes the mLocalMatrix field to the specified Consumer.

mMeshIdback to summary
public AIMesh.Buffer mMeshId()

the mesh index, which will get influenced by the weight

Annotations
@NativeType:struct aiMesh *
mMeshIdback to summary
public AISkeletonBone mMeshId(AIMesh.Buffer value)

Sets the address of the specified AIMesh.Buffer to the mMeshId field.

mNodeback to summary
public AINode mNode()

The bone node in the scene - used for skeleton conversion.

You must enable Process_PopulateArmatureData to populate this.

Annotations
@Nullable
@NativeType:struct aiNode *
mNodeback to summary
public AISkeletonBone mNode(AINode value)

Sets the address of the specified AINode to the mNode field.

mNumnWeightsback to summary
public int mNumnWeights()

the number of weights

Annotations
@NativeType:unsigned int
mNumnWeightsback to summary
public AISkeletonBone mNumnWeights(int value)

Sets the specified value to the mNumnWeights field.

mOffsetMatrixback to summary
public AIMatrix4x4 mOffsetMatrix()

Matrix that transforms from bone space to mesh space in bind pose.

This matrix describes the position of the mesh in the local space of this bone when the skeleton was bound. Thus it can be used directly to determine a desired vertex position, given the world-space transform of the bone when animated, and the position of the vertex in mesh space.

It is sometimes called an inverse-bind matrix, or inverse bind pose matrix.

Annotations
@NativeType:struct aiMatrix4x4
mOffsetMatrixback to summary
public AISkeletonBone mOffsetMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the mOffsetMatrix field.

mOffsetMatrixback to summary
public AISkeletonBone mOffsetMatrix(Consumer<AIMatrix4x4> consumer)

Passes the mOffsetMatrix field to the specified Consumer.

mParentback to summary
public int mParent()

the parent bone index, is -1 one if this bone represents the root bone

mParentback to summary
public AISkeletonBone mParent(int value)

Sets the specified value to the mParent field.

mWeightsback to summary
public AIVertexWeight.Buffer mWeights()

the influence weights of this bone, by vertex index

Annotations
@NativeType:struct aiVertexWeight *
mWeightsback to summary
public AISkeletonBone mWeights(AIVertexWeight.Buffer value)

Sets the address of the specified AIVertexWeight.Buffer to the mWeights field.

nmArmatureback to summary
public static AINode nmArmature(long struct)

Unsafe version of mArmature.

Annotations
@Nullable
nmArmatureback to summary
public static void nmArmature(long struct, AINode value)

Unsafe version of mArmature.

nmLocalMatrixback to summary
public static AIMatrix4x4 nmLocalMatrix(long struct)

Unsafe version of mLocalMatrix.

nmLocalMatrixback to summary
public static void nmLocalMatrix(long struct, AIMatrix4x4 value)

Unsafe version of mLocalMatrix.

nmMeshIdback to summary
public static AIMesh.Buffer nmMeshId(long struct)

Unsafe version of mMeshId.

nmMeshIdback to summary
public static void nmMeshId(long struct, AIMesh.Buffer value)

Unsafe version of mMeshId.

nmNodeback to summary
public static AINode nmNode(long struct)

Unsafe version of mNode.

Annotations
@Nullable
nmNodeback to summary
public static void nmNode(long struct, AINode value)

Unsafe version of mNode.

nmNumnWeightsback to summary
public static int nmNumnWeights(long struct)

Unsafe version of mNumnWeights.

nmNumnWeightsback to summary
public static void nmNumnWeights(long struct, int value)

Sets the specified value to the mNumnWeights field of the specified struct.

nmOffsetMatrixback to summary
public static AIMatrix4x4 nmOffsetMatrix(long struct)

Unsafe version of mOffsetMatrix.

nmOffsetMatrixback to summary
public static void nmOffsetMatrix(long struct, AIMatrix4x4 value)

Unsafe version of mOffsetMatrix.

nmParentback to summary
public static int nmParent(long struct)

Unsafe version of mParent.

nmParentback to summary
public static void nmParent(long struct, int value)

Unsafe version of mParent.

nmWeightsback to summary
public static AIVertexWeight.Buffer nmWeights(long struct)

Unsafe version of mWeights.

nmWeightsback to summary
public static void nmWeights(long struct, AIVertexWeight.Buffer value)

Unsafe version of mWeights.

setback to summary
public AISkeletonBone set(int mParent, AINode mArmature, AINode mNode, int mNumnWeights, AIMesh.Buffer mMeshId, AIVertexWeight.Buffer mWeights, AIMatrix4x4 mOffsetMatrix, AIMatrix4x4 mLocalMatrix)

Initializes this struct with the specified values.

setback to summary
public AISkeletonBone set(AISkeletonBone src)

Copies the specified struct data to this struct.

Parameters
src:AISkeletonBone

the source struct

Returns:AISkeletonBone

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

org.lwjgl.assimp back to summary

public Class AISkeletonBone.Buffer

extends StructBuffer<AISkeletonBone, AISkeletonBone.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of AISkeletonBone structs.

Field Summary

Modifier and TypeField and Description
private static final AISkeletonBone

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new AISkeletonBone.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
protected AISkeletonBone
public AINode

Returns:

a AINode view of the struct pointed to by the AISkeletonBone#mArmature field.
mArmature
()

public AISkeletonBone.Buffer
mArmature(AINode value)

Sets the address of the specified AINode to the AISkeletonBone#mArmature field.

public AIMatrix4x4

Returns:

a AIMatrix4x4 view of the AISkeletonBone#mLocalMatrix field.
mLocalMatrix
()

public AISkeletonBone.Buffer
mLocalMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the AISkeletonBone#mLocalMatrix field.

public AISkeletonBone.Buffer
mLocalMatrix(Consumer<AIMatrix4x4> consumer)

Passes the AISkeletonBone#mLocalMatrix field to the specified Consumer.

public AIMesh.Buffer

Returns:

a AIMesh.Buffer view of the struct array pointed to by the AISkeletonBone#mMeshId field.
mMeshId
()

public AISkeletonBone.Buffer
mMeshId(AIMesh.Buffer value)

Sets the address of the specified AIMesh.Buffer to the AISkeletonBone#mMeshId field.

public AINode

Returns:

a AINode view of the struct pointed to by the AISkeletonBone#mNode field.
mNode
()

public AISkeletonBone.Buffer
mNode(AINode value)

Sets the address of the specified AINode to the AISkeletonBone#mNode field.

public int

Returns:

the value of the AISkeletonBone#mNumnWeights field.
mNumnWeights
()

public AISkeletonBone.Buffer
mNumnWeights(int value)

Sets the specified value to the AISkeletonBone#mNumnWeights field.

public AIMatrix4x4
public AISkeletonBone.Buffer
mOffsetMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the AISkeletonBone#mOffsetMatrix field.

public AISkeletonBone.Buffer
mOffsetMatrix(Consumer<AIMatrix4x4> consumer)

Passes the AISkeletonBone#mOffsetMatrix field to the specified Consumer.

public int

Returns:

the value of the AISkeletonBone#mParent field.
mParent
()

public AISkeletonBone.Buffer
mParent(int value)

Sets the specified value to the AISkeletonBone#mParent field.

public AIVertexWeight.Buffer

Returns:

a AIVertexWeight.Buffer view of the struct array pointed to by the AISkeletonBone#mWeights field.
mWeights
()

public AISkeletonBone.Buffer
mWeights(AIVertexWeight.Buffer value)

Sets the address of the specified AIVertexWeight.Buffer to the AISkeletonBone#mWeights field.

protected AISkeletonBone.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final AISkeletonBone ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new AISkeletonBone.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 AISkeletonBone#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

getElementFactoryback to summary
protected AISkeletonBone getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
mArmatureback to summary
public AINode mArmature()
Returns:AINode

a AINode view of the struct pointed to by the AISkeletonBone#mArmature field.

Annotations
@Nullable
@NativeType:struct aiNode *
mArmatureback to summary
public AISkeletonBone.Buffer mArmature(AINode value)

Sets the address of the specified AINode to the AISkeletonBone#mArmature field.

mLocalMatrixback to summary
public AIMatrix4x4 mLocalMatrix()
Returns:AIMatrix4x4

a AIMatrix4x4 view of the AISkeletonBone#mLocalMatrix field.

Annotations
@NativeType:struct aiMatrix4x4
mLocalMatrixback to summary
public AISkeletonBone.Buffer mLocalMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the AISkeletonBone#mLocalMatrix field.

mLocalMatrixback to summary
public AISkeletonBone.Buffer mLocalMatrix(Consumer<AIMatrix4x4> consumer)

Passes the AISkeletonBone#mLocalMatrix field to the specified Consumer.

mMeshIdback to summary
public AIMesh.Buffer mMeshId()
Returns:AIMesh.Buffer

a AIMesh.Buffer view of the struct array pointed to by the AISkeletonBone#mMeshId field.

Annotations
@NativeType:struct aiMesh *
mMeshIdback to summary
public AISkeletonBone.Buffer mMeshId(AIMesh.Buffer value)

Sets the address of the specified AIMesh.Buffer to the AISkeletonBone#mMeshId field.

mNodeback to summary
public AINode mNode()
Returns:AINode

a AINode view of the struct pointed to by the AISkeletonBone#mNode field.

Annotations
@Nullable
@NativeType:struct aiNode *
mNodeback to summary
public AISkeletonBone.Buffer mNode(AINode value)

Sets the address of the specified AINode to the AISkeletonBone#mNode field.

mNumnWeightsback to summary
public int mNumnWeights()
Returns:int

the value of the AISkeletonBone#mNumnWeights field.

Annotations
@NativeType:unsigned int
mNumnWeightsback to summary
public AISkeletonBone.Buffer mNumnWeights(int value)

Sets the specified value to the AISkeletonBone#mNumnWeights field.

mOffsetMatrixback to summary
public AIMatrix4x4 mOffsetMatrix()
Returns:AIMatrix4x4

a AIMatrix4x4 view of the AISkeletonBone#mOffsetMatrix field.

Annotations
@NativeType:struct aiMatrix4x4
mOffsetMatrixback to summary
public AISkeletonBone.Buffer mOffsetMatrix(AIMatrix4x4 value)

Copies the specified AIMatrix4x4 to the AISkeletonBone#mOffsetMatrix field.

mOffsetMatrixback to summary
public AISkeletonBone.Buffer mOffsetMatrix(Consumer<AIMatrix4x4> consumer)

Passes the AISkeletonBone#mOffsetMatrix field to the specified Consumer.

mParentback to summary
public int mParent()
Returns:int

the value of the AISkeletonBone#mParent field.

mParentback to summary
public AISkeletonBone.Buffer mParent(int value)

Sets the specified value to the AISkeletonBone#mParent field.

mWeightsback to summary
public AIVertexWeight.Buffer mWeights()
Returns:AIVertexWeight.Buffer

a AIVertexWeight.Buffer view of the struct array pointed to by the AISkeletonBone#mWeights field.

Annotations
@NativeType:struct aiVertexWeight *
mWeightsback to summary
public AISkeletonBone.Buffer mWeights(AIVertexWeight.Buffer value)

Sets the address of the specified AIVertexWeight.Buffer to the AISkeletonBone#mWeights field.

selfback to summary
protected AISkeletonBone.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override