Skip to content

marble3 / IcosahedronOptions

Interface: IcosahedronOptions ​

Defined in: src/object.ts:47

Extends ​

Properties ​

castShadow? ​

optional castShadow?: boolean

Defined in: src/entity/physic.ts:34

Default true.

Inherited from ​

PhysicEntityOptions.castShadow


detail? ​

optional detail?: number

Defined in: src/object.ts:51

Subdivision level. Default 0, the 12-vertex icosahedron.


mass? ​

optional mass?: number

Defined in: src/entity/physic.ts:26

Above 0 the body is dynamic; at 0 it is static and never moves. Default 1.

Inherited from ​

PhysicEntityOptions.mass


material? ​

optional material?: Material

Defined in: src/entity/physic.ts:32

Default: a randomly coloured wireframe, as a placeholder.

Inherited from ​

PhysicEntityOptions.material


radius? ​

optional radius?: number

Defined in: src/object.ts:49

Default 1.


receiveShadow? ​

optional receiveShadow?: boolean

Defined in: src/entity/physic.ts:36

Default true.

Inherited from ​

PhysicEntityOptions.receiveShadow