This class can be extended to create custom translation handles. It requires setting the properties parallel and up.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

parallel: Vector3 = ...

This is a unit vector that runs parallel to the direction of the translation handle. For example, in case of Controls.translationXP, it is THREE.Vector3(1,0,0) (along the x-axis).

up: Vector3 = ...

This is a unit vector that runs perpendicular to the direction of the translation handles. For example, in case of Controls.translationXP, it is THREE.Vector3(0,1,0) (along the y-axis).

Methods

  • sets the color for the handle; this may involve setting colors for multiple constituent meshes that form the handle (interactive or non-interactive)

    Parameters

    • color: string

      hex code for the color

    Returns void

Generated using TypeDoc