API Reference

Class List

pc.Skin

A skin contains data about the bones in a hierarchy that drive a skinned mesh animation. Specifically, the skin stores the bone name and inverse bind matrix and for each bone. Inverse bind matrices are instrumental in the mathematics of vertex skinning.

Summary

Details

Constructor

Skin(graphicsDevice, ibp, boneNames)

Parameters

graphicsDevicepc.GraphicsDeviceThe graphics device used to manage this skin.
ibppc.Mat4[]The array of inverse bind matrices.
boneNamesString[]The array of bone names for the bones referenced by this skin.