UGoogleVRHMDFunctionLibrary

GoogleVRHMD Extensions Function Library

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GoogleVRHMD

Header

/Engine/Plugins/Runtime/GoogleVR/GoogleVRHMD/Source/GoogleVRHMD/Classes/GoogleVRHMDFunctionLibrary.h

Include

#include "GoogleVRHMDFunctionLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGoogleVRHMDFunctionLibrary : public UBlueprintFunctionLibrary

Remarks

GoogleVRHMD Extensions Function Library

Constructors

Name Description

Public function

UGoogleVRHMDFunctionLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

ClearDaydreamLoadingSplashScreenTexture()

Clear the loading splash texture it is current using.

Public function Static UFunction BlueprintPure, Category, Meta

float

 

GetDaydreamLoadingSplashScreenDistance()

Get the distance in meter the daydream splash screen will be rendered at

Public function Static UFunction BlueprintPure, Category, Meta

float

 

GetDaydreamLoadingSplashScreenScale()

Get the render scale of the dayderam splash screen

Public function Static UFunction BlueprintPure, Category, Meta

float

 

GetDaydreamLoadingSplashScreenViewAngle()

Get the view angle of the dayderam splash screen

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

GetDistortionCorrectionEnabled()

Check if distortion correction is enabled

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

GetFloorHeight

(
    float& FloorHeight
)

Tries to get the floor height if available

Public function Static UFunction BlueprintPure, Category, Meta

FIntPoint

 

GetGVRHMDRenderTargetSize()

Get the RenderTarget size GoogleVRHMD is using for rendering the scene.

Public function Static UFunction BlueprintPure, Category, Meta

FString

 

GetIntentData()

Returns the string representation of the data URI on which this activity's intent is operating.

Public function Static UFunction BlueprintPure, Category, Meta

float

 

GetNeckModelScale()

A scaling factor for the neck model offset, clamped from 0 to 1.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

GetRecenterTransform

(
    FQuat& RecenterOrientation,
    FVector& RecenterPosition
)

Tries to get the Recenter Transform if available

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

GetSafetyCylinderInnerRadius

(
    float& InnerRadius
)

Tries to get the Safety Cylinder Inner Radius if available

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

GetSafetyCylinderOuterRadius

(
    float& OuterRadius
)

Tries to get the Safety Cylinder Outer Radius if available

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

GetSafetyRegion

(
    ESafetyRegionType& RegionType
)

Tries to get the Safety Region Type if available

Public function Static UFunction BlueprintPure, Category, Meta

FString

 

GetViewerModel()

Get the currently set viewer model

Public function Static UFunction BlueprintPure, Category, Meta

FString

 

GetViewerVendor()

Get the currently set viewer vendor

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

IsGoogleVRHMDEnabled()

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

IsGoogleVRStereoRenderingEnabled()

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

IsInDaydreamMode()

Is the application running in Daydream mode.

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

IsVrLaunch()

Was the application launched in Vr.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDaydreamLoadingSplashScreenDistance

(
    float NewDistance
)

Set the distance in meter the daydream splash screen will be rendered at

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDaydreamLoadingSplashScreenEnable

(
    bool enable
)

Set whether to enable the loading splash screen in daydream app.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDaydreamLoadingSplashScreenScale

(
    float NewSize
)

Set the render scale of the dayderam splash screen

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDaydreamLoadingSplashScreenTexture

(
    UTexture2D* Texture,
    FVector2D UVOffset,
    FVector2D UVSize
)

Set the loading splash screen texture the daydream app wil be using.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDaydreamLoadingSplashScreenViewAngle

(
    float NewViewAngle
)

Set the view angle of the dayderam splash screen

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetDefaultViewerProfile

(
    const FString& ViewerProfileURL
)

Change the default viewer profile

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDistortionCorrectionEnabled

(
    bool bEnable
)

Enable/disable distortion correction

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetDistortionMeshSize

(
    EDistortionMeshSizeEnum MeshSize
)

Change the size of Distortion mesh

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetGVRHMDRenderTargetScale

(
    float ScaleFactor,
    FIntPoint& OutRenderTargetSize
)

Set the RenderTarget size with a scale factor.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetGVRHMDRenderTargetSize

(
    int DesiredWidth,
    int DesiredHeight,
    FIntPoint& OutRenderTargetSize
)

Set the RenderTargetSize with the desired resolution.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetNeckModelScale

(
    float ScaleFactor
)

A scaling factor for the neck model offset, clamped from 0 to 1.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetRecenterControllerOnly

(
    bool bIsRecenterControllerOnly
)

Sets whether or not the Recenter event only recenters the Controller.

Public function Static UFunction BlueprintCallable, Category, Meta

FIntPoint

 

SetRenderTargetSizeToDefault()

Set the GoogleVR render target size to default value.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetSustainedPerformanceModeEnabled

(
    bool bEnable
)

Set if the app use sustained performance mode.

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