Skip to content

Documentation / scene / TetrahedronCreationOptions

Interface: TetrahedronCreationOptions ​

Defined in: libs/scene/src/shapes/tetrahedron.ts:9

Creation options for tetrahedron shape

Extends ​

Properties ​

needNormal? ​

optional needNormal?: 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? ​

optional needTangent?: 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? ​

optional needUV?: boolean

Defined in: libs/scene/src/shapes/shape.ts:16

true if we need to calculate texture coordinates for the shape

Inherited from ​

ShapeCreationOptions.needUV


transform? ​

optional transform?: Matrix4x4

Defined in: libs/scene/src/shapes/shape.ts:18

Transform matrix for the shape

Inherited from ​

ShapeCreationOptions.transform


height? ​

optional height?: number

Defined in: libs/scene/src/shapes/tetrahedron.ts:10


sizeX? ​

optional sizeX?: number

Defined in: libs/scene/src/shapes/tetrahedron.ts:11


sizeZ? ​

optional sizeZ?: number

Defined in: libs/scene/src/shapes/tetrahedron.ts:12

Released under the MIT License.