UARUtilitiesFunctionLibrary::UpdateSceneDepthTexture

Update material texture parameter using pre-defined names: Scene depth texture: SceneDepthTexture Depth to meter scale: DepthToMeterScale

Windows
MacOS
Linux

References

Module

ARUtilities

Header

/Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Public/ARUtilitiesFunctionLibrary.h

Include

#include "ARUtilitiesFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Private/ARUtilitiesFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="AR Utilities")
static void UpdateSceneDepthTexture
(
    UMaterialInstanceDynamic * MaterialInstance,
    UTexture * SceneDepthTexture,
    float DepthToMeterScale
)

Remarks

Update material texture parameter using pre-defined names: Scene depth texture: SceneDepthTexture Depth to meter scale: DepthToMeterScale

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