Skip to main content

Class: TubeShapeGeometry

Extra-Helpers.TubeShapeGeometry

Hierarchy

  • BufferGeometry

    TubeShapeGeometry

Properties

frames

frames: Object

Type declaration

NameType
tangentsVector3[]
normalsVector3[]
binormalsVector3[]

Defined in

webgi/src/helpers/threejs/TubeShapeGeometry.ts:5


parameters

parameters: Object

Type declaration

NameType
pathCurve<Vector3>
shapeShape
shapeScaleVector2
shapeSegmentsnumber
closedboolean
tubularSegmentsnumber
primary"path" | "shape"

Defined in

webgi/src/helpers/threejs/TubeShapeGeometry.ts:7

Constructors

constructor

new TubeShapeGeometry(shape, path, shapeSegments?, tubularSegments?, closed?, shapeScale?, primary?)

Parameters

NameTypeDefault valueDescription
shapeShapeundefinedassumed to be closed
pathCurve<Vector3>undefined-
shapeSegmentsnumber32
tubularSegmentsnumber64
closedbooleanfalsefor path
shapeScaleVector2undefined
primary"path" | "shape"'shape''shape' or 'path'

Overrides

BufferGeometry.constructor

Defined in

webgi/src/helpers/threejs/TubeShapeGeometry.ts:19

Methods

createSplits

createSplits(splits): number

Parameters

NameType
splitsnumber[]

Returns

number

Defined in

webgi/src/helpers/threejs/TubeShapeGeometry.ts:233


toJSON

toJSON(): any

Returns

any

Overrides

BufferGeometry.toJSON

Defined in

webgi/src/helpers/threejs/TubeShapeGeometry.ts:259