Hide menu
Loading...
Searching...
No Matches
Body

Provides a base class for bodies.

See also SolidBody, SheetBody, WireframeBody, and MeshBody.

Extends

Extended by

Constructors

Constructor

new Body(): Body

Returns

Body

Inherited from

BaseObject.constructor

Properties

material

material: VisualMaterial | null = null

Visual material of the body.

The default value is null.

Accessors

id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

BaseObject.id


name

Get Signature

get name(): string | null

Name of the body.

The default value is null.

Returns

string | null

Set Signature

set name(name): void

Sets the name of the body.

Parameters

name

string | null

Body name.

Returns

void