Class: MeshResource

MeshResource(options)

new MeshResource(options)

A MeshResource is an THREE object that will load from a external mesh file. Currently loads Collada files.

Parameters:
Name Type Description
options

object with following keys:

  • path (optional) - the base path to the associated models that will be loaded
  • resource - the resource file name to load
  • material (optional) - the material to use for the object
  • warnings (optional) - if warnings should be printed
Source: