How To

Mirror Engine API / SkinInstance
Class: SkinInstance
A skin instance is responsible for generating the matrix palette that is used to skin vertices from object space to world space.
Constructors
new SkinInstance()
new SkinInstance(skin: Skin): SkinInstance
Create a new SkinInstance instance.
Parameters
skin
The skin that will provide the inverse bind pose matrices to generate the final matrix palette.
Returns
Properties
bones
bones: GraphNode[];
An array of nodes representing each bone in this skin instance.
Methods
initSkin()
initSkin(skin: Skin): void
Parameters
skin
The skin.
Returns
void