Navigation
API > API/Plugins > API/Plugins/BlueprintMaterialTextureNodes > API/Plugins/BlueprintMaterialTextureNodes/UBlueprintMaterialTextureNodesBP-
Description
Samples a value from a Texture Render Target 2D. Currently only 4 channel formats are supported. Only works in the editor
| Name | RenderTarget_SampleUV_EditorOnly |
| Type | function |
| Header File | /Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Public/BlueprintMaterialTextureNodesBPLibrary.h |
| Include Path | #include "BlueprintMaterialTextureNodesBPLibrary.h" |
| Source | /Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Private/BlueprintMaterialTextureNodesBPLibrary.cpp |
UFUNCTION (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
)