Skin

Wrapper around a native skin data.

.constructor(engine: WonderlandEngine, index: number) ⇒ Skin 

ParamTypeDescription
engineWonderlandEngine
indexnumber

.inverseBindScalings: Float32Array 

Vectors in a flat array of size 3 times jointCount.

Inverse bind scalings of the skin.

.inverseBindTransforms: Float32Array 

Dual quaternions in a flat array of size 8 times jointCount.

Inverse bind transforms of the skin.

.jointCount: number 

Amount of joints in this skin.

.jointIds: Uint16Array 

Joints object ids for this skin

.equals(otherSkin: undefined | null | Skin) ⇒ boolean 

0.8.5+

Checks equality by comparing whether the wrapped native skin ids are equal.

Returns: Whether this skin equals the given skin.

ParamTypeDescription
otherSkinundefined | null | SkinSkin to check equality with.