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)
  3. void matrixImageData(Vector4[4][] buffer, Matrix[] matrices)
    struct Skeleton
    const
    void
    matrixImageData
    (
    Vector4[4][] buffer
    ,
    Matrix[] matrices
    )
    in (matrices.length == bones.length, "Matrix count differs from bone count")

Parameters

buffer Vector4[4][]

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

matrices Matrix[]

Array filled with bone-end matrices. Byproduct of the matrix image generation.

Meta