Class RotationGroupAbstract

This class can be extended to create custom rotation handles. It requires setting the property up.

Hierarchy

Constructors

Properties

Methods

Constructors

  • Returns RotationGroup

Properties

up: Vector3 = ...

This is a unit vector that runs along the axis of the rotation handles. For example, in case of Controls.rotationX, it is THREE.Vector3(1,0,0) (along the x-axis).

Methods

  • returns an array of all the interactive objects that form a handle; note that a handle can have non-interactive objects as well.

    Returns Mesh<BufferGeometry, Material | Material[]>[]

  • 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