Module |
|
Header |
/Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Public/BlueprintMaterialTextureNodesBPLibrary.h |
Include |
#include "BlueprintMaterialTextureNodesBPLibrary.h" |
Source |
/Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Private/BlueprintMaterialTextureNodesBPLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(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
)
Samples an array of values from a Texture Render Target 2D. Currently only 4 channel formats are supported. Only works in the editor