UKismetRenderingLibrary::ImportFileAsTexture2D

Imports a texture file from disk and creates Texture2D from it.

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 UTexture2D * ImportFileAsTexture2D
(
    UObject * WorldContextObject,
    const FString & Filename
)

Remarks

Imports a texture file from disk and creates Texture2D from it.

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