Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MappedAlignedBoxBuffer

Mapped Aligned box buffer. Draws boxes where one side is always screen-space aligned. Used to render cylinder imposters.

interface

Hierarchy

Index

Constructors

constructor

Properties

dynamic

dynamic: boolean = true

fragmentShader

fragmentShader: string = ""

geometry

geometry: BufferGeometry = new BufferGeometry()

group

group: Group = new Group()

index

index: Uint32Array | Uint16Array

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

parameters: BufferParameters

Optional picking

picking: Picker

pickingGroup

pickingGroup: Group = new Group()

pickingMaterial

pickingMaterial: ShaderMaterial

pickingUniforms

pickingUniforms: Uniforms

uniforms

uniforms: Uniforms

vertexShader

vertexShader: string = ""

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
  • 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

indexSize

  • get indexSize(): number

mapping

  • get mapping(): Float32Array

mappingIndices

  • get mappingIndices(): Uint16Array

mappingIndicesSize

  • get mappingIndicesSize(): number

mappingItemSize

  • get mappingItemSize(): number

mappingSize

  • get mappingSize(): number

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: any): void

addUniforms

dispose

  • dispose(): void

getAttributeIndex

  • getAttributeIndex(dataIndex: number): number

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

makeMapping

  • makeMapping(): void

makeMaterial

  • makeMaterial(): void

makeWireframeGeometry

  • makeWireframeGeometry(): void

makeWireframeIndex

  • makeWireframeIndex(): void

setAttributes

  • setAttributes(data: any): void

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