API

Class AxesViewer

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

Hierarchy (View Summary)

Index
  • Creates a new AxesViewer

    Parameters

    • Optionalscene: Scene

      defines the hosting scene

    • scaleLines: number = 1

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

    • renderingGroupId: Nullable<number> = 2

      defines a number used to set the renderingGroupId of the meshes (2 by default)

    • OptionalxAxis: TransformNode

      defines the node hierarchy used to render the x-axis

    • OptionalyAxis: TransformNode

      defines the node hierarchy used to render the y-axis

    • OptionalzAxis: TransformNode

      defines the node hierarchy used to render the z-axis

    • lineThickness: number = 1

      The line thickness to use when creating the arrow. defaults to 1.

    Returns AxesViewer

scene: Nullable<Scene> = null

Gets the hosting scene