Adds a Primitive to the mesh's draw call list.
(primitive: Primitive)
| 55 | |
| 56 | /** Adds a {@link Primitive} to the mesh's draw call list. */ |
| 57 | public addPrimitive(primitive: Primitive): this { |
| 58 | return this.addRef('primitives', primitive); |
| 59 | } |
| 60 | |
| 61 | /** Removes a {@link Primitive} from the mesh's draw call list. */ |
| 62 | public removePrimitive(primitive: Primitive): this { |
no outgoing calls