Class AINodeAnim.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<AINodeAnim>, NativeResource, Pointer
Enclosing class:
AINodeAnim

public static class AINodeAnim.Buffer extends StructBuffer<AINodeAnim,AINodeAnim.Buffer> implements NativeResource
An array of AINodeAnim structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new AINodeAnim.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 AINodeAnim.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 Details

    • mNodeName

      public AIString mNodeName()
      Returns:
      a AIString view of the mNodeName field.
    • mNumPositionKeys

      public int mNumPositionKeys()
      Returns:
      the value of the mNumPositionKeys field.
    • mPositionKeys

      public @Nullable AIVectorKey.Buffer mPositionKeys()
      Returns:
      a AIVectorKey.Buffer view of the struct array pointed to by the mPositionKeys field.
    • mNumRotationKeys

      public int mNumRotationKeys()
      Returns:
      the value of the mNumRotationKeys field.
    • mRotationKeys

      public @Nullable AIQuatKey.Buffer mRotationKeys()
      Returns:
      a AIQuatKey.Buffer view of the struct array pointed to by the mRotationKeys field.
    • mNumScalingKeys

      public int mNumScalingKeys()
      Returns:
      the value of the mNumScalingKeys field.
    • mScalingKeys

      public @Nullable AIVectorKey.Buffer mScalingKeys()
      Returns:
      a AIVectorKey.Buffer view of the struct array pointed to by the mScalingKeys field.
    • mPreState

      public int mPreState()
      Returns:
      the value of the mPreState field.
    • mPostState

      public int mPostState()
      Returns:
      the value of the mPostState field.
    • mNodeName

      public AINodeAnim.Buffer mNodeName(AIString value)
      Copies the specified AIString to the mNodeName field.
    • mNodeName

      public AINodeAnim.Buffer mNodeName(Consumer<AIString> consumer)
      Passes the mNodeName field to the specified Consumer.
    • mPositionKeys

      public AINodeAnim.Buffer mPositionKeys(@Nullable AIVectorKey.Buffer value)
      Sets the address of the specified AIVectorKey.Buffer to the mPositionKeys field.
    • mRotationKeys

      public AINodeAnim.Buffer mRotationKeys(@Nullable AIQuatKey.Buffer value)
      Sets the address of the specified AIQuatKey.Buffer to the mRotationKeys field.
    • mScalingKeys

      public AINodeAnim.Buffer mScalingKeys(@Nullable AIVectorKey.Buffer value)
      Sets the address of the specified AIVectorKey.Buffer to the mScalingKeys field.
    • mPreState

      public AINodeAnim.Buffer mPreState(int value)
      Sets the specified value to the mPreState field.
    • mPostState

      public AINodeAnim.Buffer mPostState(int value)
      Sets the specified value to the mPostState field.