Model3d

Properties

  • faces (Array.<Model3dFace>)
  • name (string)
  • texturePath (string) — The texture for faces with no material: the first map_Kd in the .obj's .mtl file
  • materials (roAssociativeArray) — The materials from the .obj's .mtl file, by name (Model3dMaterial)

Constructor

new Model3d(faces: Array.<Model3dFace>): Model3d

Parameters


Instance Methods

toStr(): string

Returns

  • string