Properties
dynamic
dynamic: boolean = true
fragmentShader
fragmentShader: string = "WideLine.frag"
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 & object = WideLineBufferParameterTypes
pickingGroup
pickingGroup: Group = new Group()
pickingMaterial
pickingMaterial: ShaderMaterial
vertexShader
vertexShader: string = "WideLine.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
Wide Line buffer. Draws lines with a fixed width in pixels.
var lineBuffer = new WideLineBuffer({ position1: new Float32Array([ 0, 0, 0 ]), position2: new Float32Array([ 1, 1, 1 ]), color: new Float32Array([ 1, 0, 0 ]), color2: new Float32Array([ 0, 1, 0 ]) });