Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Label

Hierarchy

  • Label

Index

Constructors

constructor

Properties

Private lineGeometry

lineGeometry: THREE.Geometry

Private options

options: LabelOptions

text

text: THREE.DText

Methods

dispose

  • dispose(): void

getLabelPositionPoint

  • getLabelPositionPoint(): THREE.Vector3
  • Returns THREE.Vector3

    The position point of the label

initLabel

  • initLabel(): void

Private recenter

  • recenter(): void

setFont

  • setFont(font: any): void

setSize

  • setSize(size: number): void

setText

  • setText(text: string): void

update

  • update(): void

Object literals

Static defaultOptions

defaultOptions: object

camera

camera: null = null

lineType

lineType: NORMAL = LINE_TYPE.NORMAL

position

position: CENTER = POSITION.CENTER

positionOffsetY

positionOffsetY: number = 2

rotationOffsetY

rotationOffsetY: null = null

textOptions

textOptions: object

_3d

_3d: false = false

color

color: string = "red"

size

size: number = 5

text

text: string = "label"

Generated using TypeDoc