Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

active

active: boolean = false

axisConstraint

axisConstraint: "X" | "Y" | "Z"

Private log

log: Logger = ...

name

name: string = 'rotate'

Private objectsOriginalMatrixes

objectsOriginalMatrixes: StringTMap<Matrix4> = ...

Private objectsOriginalPositions

objectsOriginalPositions: StringTMap<Vector3> = ...

Private objectsOriginalRotations

objectsOriginalRotations: StringTMap<Euler> = ...

Private overlayTool

overlayTool: Group

rotating

rotating: boolean = false

rotationAngle

rotationAngle: number

Private rotationCentroid

rotationCentroid: Vector3

Private rotationStart

rotationStart: PlanesIntersects = null

Private select

service

Private subscriptions

subscriptions: Subscription[] = ...

three

Methods

activate

activeRotationTool

  • activeRotationTool(): void

Private adjustActiveTool

  • adjustActiveTool(): void

Private adjustOverlayToolPosition

  • adjustOverlayToolPosition(): void

Private adjustOverlayToolZoom

  • adjustOverlayToolZoom(): void

canRegister

  • canRegister(): boolean

Private createOverlayTool

  • createOverlayTool(): void

deactivate

  • deactivate(): void

Private displayRotateOverlayTool

  • displayRotateOverlayTool(): void

handlePlanesIntersects

Private hideRotateOverlayTool

  • hideRotateOverlayTool(): void

onActivate

  • onActivate(): void

onDeactivate

  • onDeactivate(): void

rotate

  • rotate(angle: number, plane: "X" | "Y" | "Z", unit?: "degree" | "radian"): void

rotate90Ground

  • rotate90Ground(): void

Private rotateObjectAroundPoint

  • rotateObjectAroundPoint(object: Object3D, point: Vector3, axis: Vector3, angle: number): void

Private setConstraint

  • setConstraint(constraint: "X" | "Y" | "Z"): void

toggleRotationTool

  • toggleRotationTool(): void

Private updateGhostRotation

Generated using TypeDoc