ModelNode
ModelNode is simply a ScenegraphNode that contains a Model for drawing.
Constructor
ModelNode(webglContextOrModel, props: Object)
- If a WebGL context is passed, a
Modelwill be created internally, otherwise the passedModelwill be used. propsis the same props asModel, plusprops.managedResources, an array of resources that this model owns.
Methods
ModelNode wraps the following Model method and simply proxies them to its internal Model:
drawsetUniformssetAttributesupdateModuleSettingsdelete(callsModel.deleteand also deletes managed resource)