UGoogleARCoreSessionFunctionLibrary::GetPassthroughCameraImageUV

Gets the texture coordinate information about the passthrough camera texture.

Windows
MacOS
Linux

Deprecated

  • Use UGoogleARCoreFrameFunctionLibrary::TransformARCoordinates2D(EGoogleARCoreCoordinates2DType::Viewport, InUV, EGoogleARCoreCoordinates2DType::Texture, OutUV) instead.

References

Module

GoogleARCoreBase

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreFunctionLibrary.h

Include

#include "GoogleARCoreFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Private/GoogleARCoreFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="GoogleARCore|PassthroughCamera",
          Meta=(Keywords="googlear arcore passthrough camera uv"))
static void GetPassthroughCameraImageUV
(
    const TArray< float > & InUV,
    TArray< float > & OutUV
)

Remarks

Gets the texture coordinate information about the passthrough camera texture.

Parameters

Parameter

Description

InUV

The original UVs of on the quad. Should be an array with 8 floats.

OutUV

The orientated UVs that can be used to sample the passthrough camera texture and make sure it is displayed correctly.

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