CoordinatesHelper

Lore. CoordinatesHelper

A helper class for drawing coordinate system indicators. For example, a grid cube.

Constructor

new CoordinatesHelper(renderer, geometryName, shaderName, options)

Source:

Creates an instance of CoordinatesHelper.

Parameters:
Name Type Description
renderer Lore.Renderer

A Lore.Renderer object.

geometryName string

The name of this geometry.

shaderName string

The name of the shader used to render the coordinates.

options object

Options for drawing the coordinates. See documentation for details.

Methods

init()

Source:

Initializes the coordinates system.