2019-04-02 15:23:05 -07:00

359 B

ModelNode

Constructor

ModelNode(gl: WebGLRenderingContext, props: Object) or ModelNode(model: Model, props: Object)

  • props is the same props as Model
  • Additionally you can pass props.managedResources array of objects that this model owns. Will automatically call delete() on all of them when you call ModelNode.delete()

Methods