UpdateHoverFunction

If set, this hover function will be passed to [UTransformGizmo](API\Runtime\InteractiveToolsFramework\BaseGizmos\UTransformGizmo) instances to use instead of the default.

Windows
MacOS
Linux

Syntax

TFunction< void *, bool)> UpdateHoverFunction

Remarks

If set, this hover function will be passed to UTransformGizmo instances to use instead of the default. Hover is complicated for UTransformGizmo because all it knows about the different gizmo scene elements is that they are UPrimitiveComponent (coming from the ATransformGizmoActor). The default hover function implementation is to try casting to UGizmoBaseComponent and calling ::UpdateHoverState(). If you are using different Components that do not subclass UGizmoBaseComponent, and you want hover to work, you will need to provide a different hover update function.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss