Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModelData

The data format that describes the model to display.

Hierarchy

  • ModelData

Index

Properties

faces

faces: { count?: number; geometryIndex: number; material: string; start?: number }[]

The Faces of the Model. The winding orientation is counter-clockwise.

geometries

geometries: ModelGeometry[]

The Geometries of the Model.

Optional materials

materials: {}

Materials referenced by ModelData.faces.

Type declaration

Optional textures

textures: {}

Textures used by Materials.

Type declaration

  • [name: string]: HTMLCanvasElement | HTMLImageElement | { height: number; pixels?: Uint8Array; width: number }

Generated using TypeDoc