Defines a solid body composed of a Solid.
See also Solid.
new SolidBody(
solid?):SolidBody
Creates a solid body with an optional solid.
Solid assigned to the body.
SolidBody
material:
VisualMaterial|null=null
Visual material of the body.
The default value is null.
solid:
Solid|null=null
Solid composing the body.
The default value is null.
get id():
bigint
Returns the unique identifier of the object.
bigint
get name():
string|null
Name of the body.
The default value is null.
string | null
set name(
name):void
Sets the name of the body.
string | null
Body name.
void
Computes a compound polygonal representation of the body.
Default material used when the body does not define its own material.
computeCompoundTriangulation(
defaultMaterial):ShapeCompoundTriangulation<false>
Computes a compound polygonal representation of the body.
Default material used when the body does not define its own material.
ShapeCompoundTriangulation<false>
computeCompoundTriangulation(
defaultMaterial):ShapeCompoundTriangulation
Computes a compound polygonal representation of the body.
VisualMaterial | null
Default material used when the body does not define its own material.