UGoogleVRMotionControllerComponent::GetRadius

Return the radius of the ray.

Windows
MacOS
Linux

Override Hierarchy

IGoogleVRPointer::GetRadius()

UGoogleVRMotionControllerComponent::GetRadius()

References

Module

GoogleVRController

Header

/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Classes/GoogleVRMotionControllerComponent.h

Include

#include "GoogleVRMotionControllerComponent.h"

Source

/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Private/GoogleVRMotionControllerComponent.cpp

Syntax

virtual void GetRadius
(
    float & OutEnterRadius,
    float & OutExitRadius
) const

Remarks

Return the radius of the ray. It is used by GoogleVRPointerInputComponent when searching for valid targets. If a radius is 0, then a ray is used to find a valid target. Otherwise it will use a sphere trace. The EnterRadius is used for finding new targets while the ExitRadius is used to see if you are still nearby the object currently selected to avoid a flickering effect when just at the border of the intersection.

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