Skeleton.matrixImageData

Generate a matrix image data for the skeleton.

Both buffer parameters are optional, but can be provided to prevent allocation on subsequent calls.

  1. Vector4[4][] matrixImageData()
  2. void matrixImageData(Vector4[4][] buffer)
    struct Skeleton
    const
    void
    matrixImageData
    (
    Vector4[4][] buffer
    )
    in (buffer.length == bones.length, "Buffer height differs from bone count")
  3. void matrixImageData(Vector4[4][] buffer, Matrix[] matrices)

Parameters

buffer Vector4[4][]

Buffer for use in the image. Filled with bone-start matrices.

Meta