UKismetRenderingLibrary::CreateRenderTarget2D

Creates a new render target and initializes it to the specified dimensions

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h

Include

#include "Kismet/KismetRenderingLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp

Syntax

static UTextureRenderTarget2D * CreateRenderTarget2D
(
    UObject * WorldContextObject,
    int32 Width,
    int32 Height,
    ETextureRenderTargetFormat Format,
    FLinearColor ClearColor,
    bool bAutoGenerateMipMaps
)

Remarks

Creates a new render target and initializes it to the specified dimensions

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