Interface RenderableInstance.SkinningModifier

  • Enclosing class:
    RenderableInstance

    public static interface RenderableInstance.SkinningModifier
    Interface for modifying the bone transforms for this specific RenderableInstance. Used by SkeletonNode to make it possible to control a bone by moving a node.
    • Method Detail

      • modifyMaterialBoneTransformsBuffer

        java.nio.FloatBuffer modifyMaterialBoneTransformsBuffer​(java.nio.FloatBuffer originalBuffer)
        Takes the original boneTransforms and output new boneTransforms used to render the mesh.
        Parameters:
        originalBuffer - contains the bone transforms from the current animation state of the skeleton, buffer is read only
      • isModifiedSinceLastRender

        boolean isModifiedSinceLastRender()