Ticks3D

Element

Ticks are used as distance markers on a line in a 3D view. Create 3D ticks for another 3D element.

At the time being, the ticks are not connected to the line or axis. The connecting element is simply the parameter point.

Usage (signatures)
board.create('ticks3d', [point, direction1, length, direction2]);

point is an array of length 3 determining the starting point of the grid. direction1 and direction2 are arrays of length 3. Here, direction1 is the direction of the 3D line, direction2 is the direction of the ticks. length is the length of the line.

All parameters can be supplied as functions returning an appropriate data type.

The step width of the ticks is determined by the attribute ticksDistance.

Parameters
Name Type Description
point Point3DLike
direction1 Array | function
length NumberLike
direction2 Array | function
Attributes

Own

none

Inherited

Members

Own

none

Inherited

Methods

Own

none

Inherited

Events

Own

none

Inherited

Throws

If the element cannot be constructed with the given parent objects an exception is thrown.

Type
Exception

Details

Type
Object
Source
3d/ticks3d.js, line 39

Extends