Creates a new bounds scale gizmo.
OptionalparentGizmo: InteractiveGizmoProtected_isProtected Readonly_positionProtected Readonly_worldStatic ReadonlycornerSize of the handles at the corners.
Static ReadonlyedgeRadius of the cylinder used to render edge handles when hovered or active.
Static ReadonlyedgeRadius of the rotation indicator circles drawn at edge midpoints.
Static ReadonlyfaceSize of the handles on the faces.
Static ReadonlygizmoLayer of the gizmo.
Static ReadonlymaxMaximum handle size as a fraction of the smallest bounds half-extent, preventing handles from overlapping on large objects.
Determines if the gizmo currently being interacted with (clicking, or dragging).
Returns true when an edge handle is being dragged for rotation.
Determines the active state of the gizmo. If disabled, the gizmo will not render or receive input.
True, if the object is being dragged by its bounds and not locked to an axis.
Determines if the gizmo currently being hovered.
Returns true when the object is being translated via the free-move handle or a face-move drag.
Returns true when a face or corner handle is being dragged for scaling.
Rotation delta since the start of the edge-drag; identity when idle.
World rotation of the gizmo.
World-space axis of the rotation delta; Valid only while isEdgeRotateDragged.
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.
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 BoundsScaleInteractiveGizmo implements a BuiltInInteractiveGizmo that allows an object to be scaled by dragging handles placed at the face-centers of its local-space AABB.