Documentation / scene / BoxCreationOptions
Interface: BoxCreationOptions
Defined in: libs/scene/src/shapes/box.ts:9
Creation options for box shape
Extends
Properties
size?
optionalsize?:number
Defined in: libs/scene/src/shapes/box.ts:11
Size of all axises, default 1
sizeX?
optionalsizeX?:number
Defined in: libs/scene/src/shapes/box.ts:13
Size of axis x, default 1
sizeY?
optionalsizeY?:number
Defined in: libs/scene/src/shapes/box.ts:15
Size of axis y, default 1
sizeZ?
optionalsizeZ?:number
Defined in: libs/scene/src/shapes/box.ts:17
Size of axis z, default 1
anchor?
optionalanchor?:number
Defined in: libs/scene/src/shapes/box.ts:19
Anchor
anchorX?
optionalanchorX?:number
Defined in: libs/scene/src/shapes/box.ts:21
Anchor X
anchorY?
optionalanchorY?:number
Defined in: libs/scene/src/shapes/box.ts:23
Anchor Y
anchorZ?
optionalanchorZ?:number
Defined in: libs/scene/src/shapes/box.ts:25
Anchor Z
needNormal?
optionalneedNormal?:boolean
Defined in: libs/scene/src/shapes/shape.ts:12
true if we need to calculate normals for the shape
Inherited from
ShapeCreationOptions.needNormal
needTangent?
optionalneedTangent?:boolean
Defined in: libs/scene/src/shapes/shape.ts:14
true if we need to calculate tangents for the shape
Inherited from
ShapeCreationOptions.needTangent
needUV?
optionalneedUV?:boolean
Defined in: libs/scene/src/shapes/shape.ts:16
true if we need to calculate texture coordinates for the shape
Inherited from
transform?
optionaltransform?:Matrix4x4
Defined in: libs/scene/src/shapes/shape.ts:18
Transform matrix for the shape