Deprecated
This function is deprecated. Use "GoogleARCore Passthrough Camera" expression in your material instead.
Module |
|
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 |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="GoogleARCore|PassthroughCamera",
Meta=(DeprecatedFunction, DeprecationMessage="GetCameraTexture is deprecated. Currently, use GoogleARCore Passthrough Camera expression.", Keywords="googlear arcore passthroughcamera"))
static UTexture * GetCameraTexture()
Get the pass-through camera texture that GoogleARCore plugin will use to render the passthrough camera background.
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.
A pointer to the UTexture that will be used to render the passthrough camera background.