GlobalRotationGizmo

GlobalRotationGizmo

Update world rotation of target entity

Constructor

new GlobalRotationGizmo()

Methods

activate(props)

Activate this gizmo when the dragging motion starts

Parameters:
Name Type Description
props Object
Properties
Name Type Description
data Object

active handle information

id string

active handle id

color Array.<number>

active handle color

copyTransform(transform)

Only inherit target entity world translation for global Rotation gizmo

Parameters:
Name Type Description
transform Transform

target entity world transform

deactivate()

Deactivate the gizmo when the dragging motion stops

getGizmoLocalToWorldPosition(local, world)

Only inherit target entity world translation for global Rotation gizmo

Parameters:
Name Type Description
local Vector3
world Vector3