Skip to content

Rig beta ​

Interface of @v12-engine/client/lite-views

ts
export interface Rig

A file's nodes that move a skin, parents first: their pose at rest and each joint's inverse bind

Members ​

base ​

ts
base: Float32Array;

What the nodes at the top stand under: the mirror into the left-handed world

inverseBind ​

ts
inverseBind: Float32Array;

Each joint's inverse bind, by columns, the mirror in it (a mirrored vertex into the joint's own space)

joints ​

ts
joints: Int16Array;

The node each joint of the skin is

names ​

ts
names: string[];

The nodes, parents before their children

parents ​

ts
parents: Int16Array;

Each node's parent among them, -1 for one at the top

rest ​

ts
rest: Float32Array;

Each node's pose at rest