Renderer · interface

PointSkinData

A point skin, one entry a vertex unless said otherwise.

Explained in Hello world.

interface PointSkinData
import type { PointSkinData } from '@driftengine/core';

Properties

NameTypeDescription
jointsreadonlyFloat32ArrayFour joint indices a vertex, as floats, as MeshData.joints is.
weightsreadonlyFloat32ArrayFour weights a vertex. An influence of weight 0 is skipped, whatever its joint and point.
pointsreadonlyFloat32ArrayFour points a vertex, three floats each: influence k's point in joint k's own space.
normalsreadonlyFloat32ArrayOne normal a vertex, in the space of its first joint.