UBlueprintMaterialTextureNodesBPLibrary::RenderTarget_SampleUV_EditorOnly

Samples a value from a Texture Render Target 2D.

Windows
MacOS
Linux

References

Module

BlueprintMaterialTextureNodes

Header

/Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Public/BlueprintMaterialTextureNodesBPLibrary.h

Include

#include "BlueprintMaterialTextureNodesBPLibrary.h"

Source

/Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Private/BlueprintMaterialTextureNodesBPLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure,
          Meta=(DisplayName="Render Target Sample UV Editor Only", Keywords="Sample Render Target UV"),
          Category=Rendering)
static FLinearColor RenderTarget_SampleUV_EditorOnly
(
    UTextureRenderTarget2D * InRenderTarget,
    FVector2D UV
)

Remarks

Samples a value from a Texture Render Target 2D. Currently only 4 channel formats are supported. Only works in the editor

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