Class: MaterialResource

THING.MaterialResource(param)

MaterialResource The material resource.

Constructor

new MaterialResource(param)

The material resource to build custom geometry info in scene.
Parameters:
Name Type Description
param Object The initial parameters.
Source:

Extends

Members

data :Object

Get the data.
Type:
  • Object
Source:

loaded :Boolean

Get the loaded flag.
Type:
  • Boolean
Overrides:
Source:

uuid :String

Get the unique ID.
Type:
  • String
Overrides:
Source:

Methods

waitForComplete() → {Promise.<any>}

Wait for object load completed.
Overrides:
Source:
Returns:
Type
Promise.<any>