Documentation / scene / CylinderCreationOptions
Interface: CylinderCreationOptions
Defined in: libs/scene/src/shapes/cylinder.ts:9
Creation options for cylinder shape
Extends
Properties
bottomRadius?
optionalbottomRadius?:number
Defined in: libs/scene/src/shapes/cylinder.ts:11
Top radius, default is 1.0 *
topRadius?
optionaltopRadius?:number
Defined in: libs/scene/src/shapes/cylinder.ts:13
Bottom radius, default is 1.0
topCap?
optionaltopCap?:boolean
Defined in: libs/scene/src/shapes/cylinder.ts:15
Generate top cap, default is true
bottomCap?
optionalbottomCap?:boolean
Defined in: libs/scene/src/shapes/cylinder.ts:17
Generate bottom cap, default is true
height?
optionalheight?:number
Defined in: libs/scene/src/shapes/cylinder.ts:19
Height, default is 1.0
heightDetail?
optionalheightDetail?:number
Defined in: libs/scene/src/shapes/cylinder.ts:21
Height detail, default is 1
radialDetail?
optionalradialDetail?:number
Defined in: libs/scene/src/shapes/cylinder.ts:23
Radial detail, default is 20
anchor?
optionalanchor?:number
Defined in: libs/scene/src/shapes/cylinder.ts:25
Anchor point, default is 0
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