Creates a new Material attached to this document's Root.
(name = '')
| 259 | |
| 260 | /** Creates a new {@link Material} attached to this document's {@link Root}. */ |
| 261 | createMaterial(name = ''): Material { |
| 262 | return new Material(this._graph, name); |
| 263 | } |
| 264 | |
| 265 | /** Creates a new {@link Texture} attached to this document's {@link Root}. */ |
| 266 | createTexture(name = ''): Texture { |
no outgoing calls