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

Defines a base class for specific objects that contains different topological entities.

Extends

Extended by

Constructors

new Body()

new Body(): Body

Returns

Body

Inherited from

BaseObject.constructor

Properties

material

material: null | VisualMaterial = null

The model element material. null if the element has no material (by default).

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

BaseObject.id


name

Get Signature

get name(): null | string

Returns name of the body. null if the element has no name (by default).

Returns

null | string

Set Signature

set name(name): void

Sets name of the body.

Parameters

name

Name of the body.

null | string

Returns

void