UGoogleVRHMDFunctionLibrary::SetGVRHMDRenderTargetSize

Set the RenderTargetSize with the desired resolution.

Windows
MacOS
Linux

References

Module

GoogleVRHMD

Header

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

Include

#include "GoogleVRHMDFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/GoogleVR/GoogleVRHMD/Source/GoogleVRHMD/Private/GoogleVRHMDFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="GoogleVRHMD", Meta=(Keywords="Cardboard AVR GVR"))
static bool SetGVRHMDRenderTargetSize
(
    int DesiredWidth,
    int DesiredHeight,
    FIntPoint & OutRenderTargetSize
)

Remarks

Set the RenderTargetSize with the desired resolution.

Returns

true if the render target size changed.

Parameters

Parameter

Description

DesiredWidth

The width of the render target.

DesiredHeight

The height of the render target.

OutRenderTargetSize

The actually render target size it is set to.

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