Describes object that contains collection of poly shapes.
new PolyBody(
shape?):PolyBody
Appended shape.
material:
null|VisualMaterial=null
The model element material. null if the element has no material (by default).
get id():
bigint
Returns object id.
bigint
get name():
null|string
Returns name of the body. null if the element has no name (by default).
null | string
set name(
name):void
Sets name of the body.
Name of the body.
null | string
void
get shapes():
ReadonlySet<PolyShape>
Returns a set of child poly shapes.
ReadonlySet<PolyShape>
append(
shape):void
Appends new poly shape to the set. If the passed shape already presents as a body, it won't be added.
Appended poly shape.
void