Class: Skin

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.

Constructor

new Skin(graphicsDevice, ibp, boneNames)

Parameters:
Name Type Description
graphicsDevice pc.GraphicsDevice The graphics device used to manage this skin.
ibp Array.<pc.Mat4> The array of inverse bind matrices.
boneNames Array.<String> The array of bone names for the bones referenced by this skin.
Source: