Package 

Class SkinningBuffer

    • Method Detail

      • setBonesAsMatrices

         void setBonesAsMatrices(@NonNull() Engine engine, @NonNull() Buffer matrices, @IntRange(from = 0, to = 255) int boneCount, @IntRange(from = 0) int offset)

        Updates the bone transforms in the range [offset, offset + boneCount).

        Parameters:
        engine - Engine instance
        matrices - A FloatBuffer containing boneCount 4x4 packed matrices (i.e.
        boneCount - Number of bones to set
        offset - Index of the first bone to set
      • setBonesAsQuaternions

         void setBonesAsQuaternions(@NonNull() Engine engine, @NonNull() Buffer quaternions, @IntRange(from = 0, to = 255) int boneCount, @IntRange(from = 0) int offset)

        Updates the bone transforms in the range [offset, offset + boneCount).

        Parameters:
        engine - Engine instance
        quaternions - A FloatBuffer containing boneCount transforms.
        boneCount - Number of bones to set
        offset - Index of the first bone to set