Skip to content

marble3 / TorusOptions

Interface: TorusOptions ​

Defined in: src/object.ts:62

Extends ​

Properties ​

castShadow? ​

optional castShadow?: boolean

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

Default true.

Inherited from ​

PhysicEntityOptions.castShadow


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


radialSegments? ​

optional radialSegments?: number

Defined in: src/object.ts:68

Default 12.


radius? ​

optional radius?: number

Defined in: src/object.ts:64

Radius of the ring. Default 1.


receiveShadow? ​

optional receiveShadow?: boolean

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

Default true.

Inherited from ​

PhysicEntityOptions.receiveShadow


tube? ​

optional tube?: number

Defined in: src/object.ts:66

Radius of the tube. Default 0.4.


tubularSegments? ​

optional tubularSegments?: number

Defined in: src/object.ts:70

Default 24.