UGoogleARCoreFrameFunctionLibrary::GetCameraTexture

Get the pass-through camera texture that GoogleARCore plugin will use to render the passthrough camera background.

Windows
MacOS
Linux

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 passthroughcamera"))
static UTexture * GetCameraTexture()

Remarks

Get the pass-through camera texture that GoogleARCore plugin will use to render the passthrough camera background. Note that UTexture object this function returns may change every frame. If you want to use the camera texture, you should call the function every frame and update the texture parameter in your material.

Returns

A pointer to the UTexture that will be used to render the passthrough camera background.

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