AIMesh::mAnimMeshes array. The purpose of aiMeshAnim is to define keyframes linking each mesh attachment to a particular point in
time.
struct aiMeshAnim {
struct aiString mName;
unsigned int mNumKeys;
struct aiMeshKey * mKeys;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AIMeshAnim.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MKEYS
The struct member offsets. |
| public static final int | MNAME
The struct member offsets. |
| public static final int | MNUMKEYS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AIMeshAnim(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static AIMeshAnim | |
| public static AIMeshAnim. | calloc(int
the buffer capacity capacity)Returns a new |
| public static AIMeshAnim | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIMeshAnim. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIMeshAnim | |
| public static AIMeshAnim | |
| public static AIMeshAnim. | |
| public static AIMeshAnim. | |
| protected AIMeshAnim | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static AIMeshAnim | |
| public static AIMeshAnim | |
| public static AIMeshAnim. | create(int
the buffer capacity capacity)Returns a new |
| public static AIMeshAnim. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AIMeshAnim | |
| public static AIMeshAnim. | |
| public static AIMeshAnim | |
| public static AIMeshAnim. | malloc(int
the buffer capacity capacity)Returns a new |
| public static AIMeshAnim | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIMeshAnim. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIMeshAnim | |
| public static AIMeshAnim | |
| public static AIMeshAnim. | |
| public static AIMeshAnim. | |
| public AIMeshKey. | |
| public AIMeshAnim | |
| public AIString | |
| public AIMeshAnim | |
| public AIMeshAnim | |
| public int | |
| public static AIMeshKey. | |
| public static void | |
| public static AIString | |
| public static void | |
| public static int | |
| public static void | nmNumKeys(long struct, int value)
Sets the specified value to the |
| public AIMeshAnim | |
| public AIMeshAnim | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MKEYS | back to summary |
|---|---|
| public static final int MKEYS The struct member offsets. | |
| MNAME | back to summary |
|---|---|
| public static final int MNAME The struct member offsets. | |
| MNUMKEYS | back to summary |
|---|---|
| public static final int MNUMKEYS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| AIMeshAnim | back to summary |
|---|---|
| protected AIMeshAnim(long address, ByteBuffer container) | |
| AIMeshAnim | back to summary |
|---|---|
| public AIMeshAnim(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static AIMeshAnim calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static AIMeshAnim. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIMeshAnim calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIMeshAnim. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static AIMeshAnim callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIMeshAnim callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIMeshAnim. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIMeshAnim. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected AIMeshAnim create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static AIMeshAnim create() Returns a new | |
| create | back to summary |
|---|---|
| public static AIMeshAnim create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static AIMeshAnim. Returns a new
| |
| create | back to summary |
|---|---|
| public static AIMeshAnim. Create a
| |
| createSafe | back to summary |
|---|---|
| public static AIMeshAnim createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static AIMeshAnim. Like
| |
| malloc | back to summary |
|---|---|
| public static AIMeshAnim malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static AIMeshAnim. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIMeshAnim malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIMeshAnim. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static AIMeshAnim mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIMeshAnim mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIMeshAnim. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIMeshAnim. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mKeys | back to summary |
|---|---|
| public AIMeshKey. Key frames of the animation. May not be
| |
| mKeys | back to summary |
|---|---|
| public AIMeshAnim mKeys(AIMeshKey. Sets the address of the specified | |
| mName | back to summary |
|---|---|
| public AIString mName() Name of the mesh to be animated. An empty string is not allowed, animated meshes need to be named (not necessarily uniquely, the name can basically serve as wildcard to select a group of meshes with similar animation setup)
| |
| mName | back to summary |
|---|---|
| public AIMeshAnim mName(AIString value) | |
| mName | back to summary |
|---|---|
| public AIMeshAnim mName(Consumer<AIString> consumer) | |
| mNumKeys | back to summary |
|---|---|
| public int mNumKeys() Size of the
| |
| nmKeys | back to summary |
|---|---|
| public static AIMeshKey. Unsafe version of | |
| nmKeys | back to summary |
|---|---|
| public static void nmKeys(long struct, AIMeshKey. Unsafe version of | |
| nmName | back to summary |
|---|---|
| public static AIString nmName(long struct) Unsafe version of | |
| nmName | back to summary |
|---|---|
| public static void nmName(long struct, AIString value) Unsafe version of | |
| nmNumKeys | back to summary |
|---|---|
| public static int nmNumKeys(long struct) Unsafe version of | |
| nmNumKeys | back to summary |
|---|---|
| public static void nmNumKeys(long struct, int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public AIMeshAnim set(AIString mName, AIMeshKey. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public AIMeshAnim set(AIMeshAnim src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
AIMeshAnim structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final AIMeshAnim |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected AIMeshAnim | |
| public AIMeshKey. | |
| public AIMeshAnim. | mKeys(AIMeshKey.
Sets the address of the specified |
| public AIString | |
| public AIMeshAnim. | |
| public AIMeshAnim. | |
| public int | |
| protected AIMeshAnim. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final AIMeshAnim ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected AIMeshAnim getElementFactory() Implements abstract org.
| |
| mKeys | back to summary |
|---|---|
public AIMeshKey.
| |
| mKeys | back to summary |
|---|---|
| public AIMeshAnim. Sets the address of the specified | |
| mName | back to summary |
|---|---|
public AIString mName()
| |
| mName | back to summary |
|---|---|
| public AIMeshAnim. Copies the specified | |
| mName | back to summary |
|---|---|
| public AIMeshAnim. Passes the | |
| mNumKeys | back to summary |
|---|---|
public int mNumKeys()
| |
| self | back to summary |
|---|---|
| protected AIMeshAnim. Implements abstract org.
| |