mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
apparently gui is fixed?
This commit is contained in:
19
Project Reboot 3.0/KismetRenderingLibrary.cpp
Normal file
19
Project Reboot 3.0/KismetRenderingLibrary.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "KismetRenderingLibrary.h"
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
void UKismetRenderingLibrary::ExportTexture2D(UObject* WorldContextObject, class UTexture2D* Texture, const FString& FilePath, const FString& Filename)
|
||||
{
|
||||
static auto fn = FindObject<UFunction>(L"/Script/Engine.KismetRenderingLibrary.ExportTexture2D");
|
||||
|
||||
struct { UObject* WorldContextObject; class UTexture2D* Texture; FString FilePath; FString Filename; } params{ WorldContextObject, Texture, FilePath, Filename };
|
||||
|
||||
static auto DefaultObject = StaticClass();
|
||||
DefaultObject->ProcessEvent(fn, ¶ms);
|
||||
}
|
||||
|
||||
UClass* UKismetRenderingLibrary::StaticClass()
|
||||
{
|
||||
static auto Class = FindObject<UClass>(L"/Script/Engine.KismetRenderingLibrary");
|
||||
return Class;
|
||||
}
|
||||
Reference in New Issue
Block a user