Skin
Wrapper around a native skin data.
- Skin
- .constructor(engine, index) ⇒ Skin
- .inverseBindScalings
- .inverseBindTransforms
- .jointCount
- .jointIds
- .equals(otherSkin) ⇒ boolean
.constructor(engine: WonderlandEngine, index: number) ⇒ Skin
Param | Type | Description |
---|---|---|
engine | WonderlandEngine | |
index | number |
.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
1.0.0+Checks equality by comparing whether the wrapped native skin ids are equal.
Returns: Whether this skin equals the given skin.
Param | Type | Description |
---|---|---|
otherSkin | undefined | null | Skin | Skin to check equality with. |