UBlueprintMaterialTextureNodesBPLibrary::RenderTarget_SampleRectangle_EditorOnly

Samples an array of values 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 Rectangle Editor Only", Keywords="Sample Render Target Rectangle"),
          Category=Rendering)
static TArray< FLinearColor > RenderTarget_SampleRectangle_EditorOnly
(
    UTextureRenderTarget2D * InRenderTarget,
    FLinearColor InRect
)

Remarks

Samples an array of values 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