Skip to content

Documentation / @imvu/chkn / ModelPart

Interface: ModelPart ​

Defined in: packages/chkn/src/Product.ts:36

One body part's assembled Cal3D data.

Properties ​

id ​

ts
readonly id: number;

Defined in: packages/chkn/src/Product.ts:37


materials ​

ts
readonly materials: Map<number, {
  material: Material | null;
  spec: MaterialSpec;
}>;

Defined in: packages/chkn/src/Product.ts:42

Material slots by index — the materialId of the mesh's submeshes.


mesh ​

ts
readonly mesh: Mesh | null;

Defined in: packages/chkn/src/Product.ts:40

null when the mesh file is missing from the whole product chain.


meshSpec ​

ts
readonly meshSpec: MeshSpec;

Defined in: packages/chkn/src/Product.ts:38

Released under the MIT License.