44 lines
1.3 KiB
C++
Executable file
44 lines
1.3 KiB
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Object.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "BakeSettings.h"
|
|
#include "BakeConfig.generated.h"
|
|
|
|
class UBuilderBase;
|
|
|
|
UCLASS(Blueprintable)
|
|
class FSDENGINE_API UBakeConfig : public UObject {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
FBakeSettings Settings;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
TMap<FName, UBuilderBase*> Objects;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
TArray<FString> Warnings;
|
|
|
|
UBakeConfig();
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FVector GetVectorSetting(FName Name, FVector defaultVal);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FRandomStream GetRandomStream();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
UBuilderBase* GetObject(FName Name);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
int32 GetIntSetting(FName Name, int32 defaultVal);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
float GetFloatSetting(FName Name, float defaultVal);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
bool GetBoolSetting(FName Name, bool defaultVal);
|
|
|
|
};
|
|
|