Creates a new scale handle.
OptionalparentGizmo: InteractiveGizmoProtected Readonly_cylinderProtected Readonly_deltaProtected Readonly_freeProtected_isProtected Readonly_positionProtected Readonly_rotationProtected Readonly_xProtected Readonly_yProtected Readonly_zStatic ReadonlyfreeStatic ReadonlygizmoDetermines if the gizmo currently being interacted with (clicking, or dragging).
Determines the active state of the gizmo. If disabled, the gizmo will not render or receive input.
Determines if the gizmo currently being hovered.
World rotation of the gizmo.
AbstractdrawVirtualCalled every frame after postInput. Allows interactive gizmo graphics to be drawn. This is the only method that draw methods may be called
Draws all child slider gizmos registered to this gizmo.
Selects the right color for the gizmo, if another gizmo is hovered the gizmo will be grayed out.
VirtualCalled every frame after handle input is processed. Active handle sliders should contain values signals if and how much they were dragged.
AbstractpreVirtualCalled every frame before interactive gizmo input is processed. Allows interactive gizmo transforms to be updated before input.
ReadonlyonInvoked when a drag is started and a new delta is available.
The onDrag event is invoked right after this event. Do not integrate the current delta during this event.
ReadonlyonInvoked when a drag is performed and a new delta is available.
ReadonlyonInvoked when the drag finished.
The ScaleInteractiveGizmo implements a BuiltInInteractiveGizmo that allows an object to be scaled along the three primary axes, as well as a free axis currently facing the camera.
When a drag is started the onDrag event is fired. The scale of the target must be manually synchronized using the delta when the onDrag even is called. Once a drag completes, the onDragFinished event is called.