AxesViewer

The Axes viewer will show 3 axes in a specific point in space

Hierarchy

Index

Constructors

constructor

Find examples in Playground
  • Creates a new AxesViewer

    Parameters

    • scene: Scene

      defines the hosting scene

    • Optional scaleLines: number

      defines a number used to scale line length (1 by default)

    Returns AxesViewer

Properties

scaleLines

Find examples in Playground
scaleLines: number

Gets or sets a number used to scale line length

scene

Find examples in Playground
scene: Nullable<Scene>

Gets the hosting scene

xAxisMesh

Find examples in Playground

Gets the mesh used to render x-axis

yAxisMesh

Find examples in Playground

Gets the mesh used to render x-axis

zAxisMesh

Find examples in Playground

Gets the mesh used to render x-axis

Methods

dispose

Find examples in Playground
  • dispose(): void
  • Releases resources

    Returns void

update

Find examples in Playground
  • Force the viewer to update

    Parameters

    • position: Vector3

      defines the position of the viewer

    • xaxis: Vector3

      defines the x axis of the viewer

    • yaxis: Vector3

      defines the y axis of the viewer

    • zaxis: Vector3

      defines the z axis of the viewer

    Returns void

Generated using TypeDoc