Navigation
API > API/Plugins > API/Plugins/BlueprintMaterialTextureNodes > API/Plugins/BlueprintMaterialTextureNodes/UBlueprintMaterialTextureNodesBP-
Description
Samples an array of values from a Texture Render Target 2D. Currently only 4 channel formats are supported. Only works in the editor
| Name | RenderTarget_SampleRectangle_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 Rectangle Editor Only", Keywords="Sample Render Target Rectangle"),
Category=Rendering)
static TArray < FLinearColor > RenderTarget_SampleRectangle_EditorOnly
(
UTextureRenderTarget2D * InRenderTarget,
FLinearColor InRect
)