Properties
directional
directional: boolean
positionIterator
positionIterator: any
smoothSheet
smoothSheet: boolean
Methods
getAtomIterator
- getAtomIterator(type: string, smooth?: undefined | false | true): AtomIterator
-
Parameters
-
type: string
-
Optional smooth: undefined | false | true
getNormals
- getNormals(tan: Float32Array): { binormal: Float32Array; normal: Float32Array }
-
Parameters
Returns { binormal: Float32Array; normal: Float32Array }
-
binormal: Float32Array
-
normal: Float32Array
getPosition
- getPosition(): Float32Array
getSubdividedColor
-
Parameters
Returns { color: Float32Array }
getSubdividedOrientation
- getSubdividedOrientation(): { binormal: Float32Array; normal: Float32Array; tangent: Float32Array }
-
Returns { binormal: Float32Array; normal: Float32Array; tangent: Float32Array }
-
binormal: Float32Array
-
normal: Float32Array
-
tangent: Float32Array
getSubdividedPosition
- getSubdividedPosition(): { position: Float32Array }
-
Returns { position: Float32Array }
getSubdividedSize
- getSubdividedSize(params: RadiusParams): { size: Float32Array }
-
Parameters
Returns { size: Float32Array }
getTangent
- getTangent(): Float32Array