UGoogleVRMotionControllerComponent::SetPointerDistance

Set the distance of the pointer.

Windows
MacOS
Linux

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

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="GoogleVRMotionController",
          Meta=(Keywords="Cardboard AVR GVR"))
void SetPointerDistance
(
    float Distance
)

Remarks

Set the distance of the pointer. This will update the distance of the laser and the reticle based upon the min and max distances.

Parameters

Parameter

Description

Distance

new distance

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