Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArrowBuffer

Arrow buffer. Draws arrows made from a cylinder and a cone.

implements

{Buffer}

example

var arrowBuffer = new ArrowBuffer({ position1: new Float32Array([ 0, 0, 0 ]), position2: new Float32Array([ 10, 1, 1 ]), color: new Float32Array([ 1, 0, 0 ]), radius: new Float32Array([ 1 ]) });

Hierarchy

  • ArrowBuffer

Index

Constructors

constructor

Properties

coneBuffer

coneBuffer: ConeBuffer

cylinderBuffer

cylinderBuffer: CylinderGeometryBuffer

cylinderRadius

cylinderRadius: Float32Array

geometry

geometry: GeometryGroup

group

group: Group = new Group()

parameters

Optional picking

picking: Picker

pickingGroup

pickingGroup: Group = new Group()

splitPosition

splitPosition: Float32Array

visible

visible: boolean = true

wireframeGroup

wireframeGroup: Group = new Group()

Accessors

defaultParameters

  • get defaultParameters(): { aspectRatio: number; disableImpostor: false; openEnded: false; radialSegments: number } & { 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 }
  • Returns { aspectRatio: number; disableImpostor: false; openEnded: false; radialSegments: number } & { 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 }

matrix

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

pickable

  • get pickable(): boolean

Methods

dispose

  • dispose(): void

getMesh

  • getMesh(): Group

getPickingMesh

  • getPickingMesh(): Group

getWireframeMesh

  • getWireframeMesh(): Group

makeAttributes

setAttributes

setParameters

setVisibility

  • setVisibility(value: boolean): void

Generated using TypeDoc