UViewportInteractor::GetGrabberSphere

Gets a sphere on this interactor that can be used to interact with objects in close proximity

Windows
MacOS
Linux

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/ViewportInteractor.h

Include

#include "ViewportInteractor.h"

Syntax

bool GetGrabberSphere
(
    FSphere & OutGrabberSphere,
    const bool bEvenIfBlocked
)

Remarks

Gets a sphere on this interactor that can be used to interact with objects in close proximity

Returns

True if the sphere is available and valid, or false is the interactor was busy or we could not determine a valid position for the interactor

Parameters

Parameter

Description

OutGrabberSphere

The sphere in world space

bEvenIfBlocked

When set to true, a valid sphere may be returned even if there is UI attached in front of this interactor

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