IXRCamera::GetPassthroughCameraUVs_RenderThread

Fetches the UV coordinates of an AR passthrough camera relative to the screen.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/IXRCamera.h

Include

#include "IXRCamera.h"

Syntax

virtual bool GetPassthroughCameraUVs_RenderThread
(
    TArray< FVector2D > & OutUVs
)

Remarks

Fetches the UV coordinates of an AR passthrough camera relative to the screen. Takes into account cropping, orientation and difference between camera and screen aspect ratios. Returns false if the UVs are not available or if the feature is not supported or implemented by the current platform. If the result is true, OutUVs will contain the four corner UVs of the passthrough camera rectangle.

This method should only be called from the render thread.

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