marble3 / BoxOptions
Interface: BoxOptions
Defined in: src/object.ts:8
Dimensions default to 1. mass, material and shadows are those of PhysicEntityOptions.
Extends
Omit<PhysicEntityOptions,"shape"|"geometry">
Properties
castShadow?
optionalcastShadow?:boolean
Defined in: src/entity/physic.ts:34
Default true.
Inherited from
PhysicEntityOptions.castShadow
depth?
optionaldepth?:number
Defined in: src/object.ts:11
height?
optionalheight?:number
Defined in: src/object.ts:10
mass?
optionalmass?: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
material?
optionalmaterial?:Material
Defined in: src/entity/physic.ts:32
Default: a randomly coloured wireframe, as a placeholder.
Inherited from
receiveShadow?
optionalreceiveShadow?:boolean
Defined in: src/entity/physic.ts:36
Default true.
Inherited from
PhysicEntityOptions.receiveShadow
width?
optionalwidth?:number
Defined in: src/object.ts:9