Describes object that contains solid.
new SolidBody(
solid
?):SolidBody
Appended solid.
material:
null
|VisualMaterial
=null
The model element material. null
if the element has no material (by default).
solid:
null
|Solid
=null
Child solid or null
(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
computeCompoundTriangulation(
defaultMaterial
):ShapeCompoundTriangulation
<false
>
Computes compound polygonal representation of child shapes.
ShapeCompoundTriangulation
<false
>
computeCompoundTriangulation(
defaultMaterial
):ShapeCompoundTriangulation
<true
>
Computes compound polygonal representation of child shapes.
null
| VisualMaterial