Skip to content

AnatomyNode beta ​

Interface of @v12-engine/client/common

ts
export interface AnatomyNode

A node of the file: what it draws, and what hangs from it

Members ​

children ​

ts
children: AnatomyNode[];

The nodes that hang from it

index ​

ts
index: number;

Its place among the file's nodes

kind ​

ts
kind: 'mesh' | 'bone' | 'node';

A bone of a skeleton (moved by animations, drawing nothing), a mesh, or a node that only holds others

mesh ​

ts
mesh?: {
        index: number;
        name: string;
        primitives: PrimitiveFacts[];
    };

The mesh it draws, by its name and index, and its parts

name ​

ts
name: string;

As the file names it, or node and its place where it does not

skin ​

ts
skin?: number;

The skeleton that bends it