Skip to content

Documentation / scene / ShapeCreationOptions

Interface: ShapeCreationOptions

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

Base class for creation options of any kind of shapes

Extended by

Properties

needNormal?

optional needNormal?: boolean

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

true if we need to calculate normals for the shape


needTangent?

optional needTangent?: boolean

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

true if we need to calculate tangents for the shape


needUV?

optional needUV?: boolean

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

true if we need to calculate texture coordinates for the shape


transform?

optional transform?: Matrix4x4

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

Transform matrix for the shape

Released under the MIT License.