Class CM3THREEBase
CM3THREEBase Base Class
Provides a "mixin" class (JavaScript multiple inheritance) for THREE.js basic support.
This class adds a THREE.js group to an existing CM class.
Subclasses should:
- Call the constructor in the subclasses constructor: CM3THREEBase.call(this)
- Include the settings in their settings as desired
- Add the functions in the CM3THREEBase prototype to the subclasses prototype with:
for (var property in CM3THREEBase.prototype)
{
CM3LayerList.prototype[property]=CM3THREEBase.prototype[property];
}
Object Functions
Returns | Function | Throws |
---|---|---|
SetTHREEMaterial() |