Class AINodeAnim.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.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 Detail

      • mNodeName

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

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

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

        public int mNumScalingKeys()
        Returns the value of the mNumScalingKeys 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​(java.util.function.Consumer<AIString> consumer)
        Passes the mNodeName field to the specified Consumer.
      • 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.