UGoogleVRLaserVisualComponent::SetPointerDistance

Set the distance of the pointer.

Windows
MacOS
Linux

Override Hierarchy

UGoogleVRLaserVisual::SetPointerDistance()

UGoogleVRLaserVisualComponent::SetPointerDistance()

References

Module

GoogleVRController

Header

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

Include

#include "GoogleVRLaserVisualComponent.h"

Source

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

Syntax

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

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