Provides a base class for bodies.
See also SolidBody, SheetBody, WireframeBody, and MeshBody.
new Body():
Body
Body
material:
VisualMaterial|null=null
Visual material of 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