Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TubeMeshBuffer

Tube mesh buffer. Draws a tube.

Hierarchy

Index

Constructors

constructor

Properties

capTriangles

capTriangles: number

capVertices

capVertices: number

dynamic

dynamic: boolean = true

fragmentShader

fragmentShader: string = "Mesh.frag"

geometry

geometry: BufferGeometry = new BufferGeometry()

group

group: Group = new Group()

indexVersion

indexVersion: number = 0

isImpostor

isImpostor: boolean = false

isLine

isLine: boolean = false

isPoint

isPoint: boolean = false

isSurface

isSurface: boolean = false

isText

isText: boolean = false

material

material: ShaderMaterial

parameterTypes

parameterTypes: object = BufferParameterTypes

Type declaration

  • matrix: object
  • background: object
    • updateShader: boolean
  • clipCenter: object
    • uniform: boolean
  • clipNear: object
    • property: boolean
    • updateShader: boolean
  • clipRadius: object
    • uniform: boolean
    • updateShader: boolean
  • depthWrite: object
    • property: boolean
  • diffuse: object
    • uniform: boolean
  • diffuseInterior: object
    • updateShader: boolean
  • flatShaded: object
    • updateShader: boolean
  • interiorColor: object
    • uniform: boolean
  • interiorDarkening: object
    • uniform: boolean
  • metalness: object
    • uniform: boolean
  • opacity: object
    • uniform: boolean
  • opaqueBack: object
    • updateShader: boolean
  • roughness: object
    • uniform: boolean
  • side: object
    • property: boolean
    • updateShader: boolean
  • useInteriorColor: object
    • updateShader: boolean
  • wireframe: object
    • updateVisibility: boolean

parameters

Optional picking

picking: Picker

pickingGroup

pickingGroup: Group = new Group()

pickingMaterial

pickingMaterial: ShaderMaterial

pickingUniforms

pickingUniforms: Uniforms

size2

size2: number

uniforms

uniforms: Uniforms

vertexShader

vertexShader: string = "Mesh.vert"

visible

visible: boolean = true

Optional wireframeGeometry

wireframeGeometry: BufferGeometry

wireframeGroup

wireframeGroup: Group = new Group()

Optional wireframeIndex

wireframeIndex: Uint32Array | Uint16Array

wireframeIndexCount

wireframeIndexCount: number = 0

wireframeIndexVersion

wireframeIndexVersion: number = -1

wireframeMaterial

wireframeMaterial: ShaderMaterial

Accessors

attributeSize

  • get attributeSize(): number

defaultParameters

  • get defaultParameters(): object & object

matrix

  • get matrix(): Matrix4
  • set matrix(m: Matrix4): void

pickable

  • get pickable(): boolean

size

  • get size(): number

transparent

  • get transparent(): boolean

Methods

_getMesh

addAttributes

  • addAttributes(attributes: object): void

addUniforms

dispose

  • dispose(): void

getDefines

getFragmentShader

getMesh

  • getMesh(): LineSegments | Points | Mesh

getParameters

  • getParameters(): object
  • Returns object

    • background: boolean
    • clipCenter: Vector3
    • clipNear: number
    • clipRadius: number
    • depthWrite: boolean
    • diffuse: number
    • diffuseInterior: boolean
    • disablePicking: boolean
    • flatShaded: boolean
    • forceTransparent: boolean
    • interiorColor: number
    • interiorDarkening: number
    • matrix: Matrix4
    • metalness: number
    • opacity: number
    • opaqueBack: boolean
    • roughness: number
    • side: "double" | "front" | "back"
    • sortParticles: boolean
    • useInteriorColor: boolean
    • wireframe: boolean

getPickingMesh

  • getPickingMesh(): LineSegments | Points | Mesh

getRenderOrder

  • getRenderOrder(): number

getShader

getVertexShader

getWireframeMesh

  • getWireframeMesh(): LineSegments

initIndex

  • initIndex(index: Uint32Array | Uint16Array): void

makeIndex

  • makeIndex(): void

makeMaterial

  • makeMaterial(): void

makeWireframeGeometry

  • makeWireframeGeometry(): void

makeWireframeIndex

  • makeWireframeIndex(): void

setAttributes

setMatrix

  • setMatrix(m: Matrix4): void

setParameters

setProperties

  • setProperties(data: any): void

setUniforms

  • setUniforms(data: any): void

setVisibility

  • setVisibility(value: boolean): void

updateRenderOrder

  • updateRenderOrder(): void

updateShader

  • updateShader(): void

updateWireframeIndex

  • updateWireframeIndex(): void

Generated using TypeDoc