remove
fun remove(primitive: ERROR CLASS: Symbol not found for JsAny?? = definedExternally): Boolean(source)
Removes a primitive from the collection.
const billboards = scene.primitives.add(new BillboardCollection());
scene.primitives.remove(billboards); // Returns trueContent copied to clipboard
Return
true if the primitive was removed; false if the primitive is undefined or was not found in the collection.
Parameters
primitive
The primitive to remove.