Describes object that contains collection of wires and edges.
new WireframeBody(
shape?):WireframeBody
Appended shape.
WireframeBody
material:
VisualMaterial|null=null
The model element material. null if the element has no material (by default).
get id():
bigint
Returns object id.
bigint
get name():
string|null
Returns name of the body. null if the element has no name (by default).
string | null
set name(
name):void
Sets name of the body.
Name of the body.
string | null
void
Returns a set of child shapes.
append(
shape):void
Appends new shape to the set. If the passed shape already presents as a body, it won't be added.
Appended shape.
void
computeCompoundTriangulation(
defaultMaterial):ShapeCompoundTriangulation<false>
Computes compound polygonal representation of child shapes.
ShapeCompoundTriangulation<false>
computeCompoundTriangulation(
defaultMaterial):ShapeCompoundTriangulation<true>
Computes compound polygonal representation of child shapes.
VisualMaterial | null