RealtimeStyleTransferRuntime/Plugins/PocketWorlds/Source/Public/PocketLevel.h

30 lines
641 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/DataAsset.h"
#include "PocketLevel.generated.h"
/**
*
*/
UCLASS()
class POCKETWORLDS_API UPocketLevel : public UDataAsset
{
GENERATED_BODY()
public:
UPocketLevel();
public:
// The level that will be streamed in for this pocket level.
UPROPERTY(EditAnywhere, Category = "Streaming")
TSoftObjectPtr<UWorld> Level;
// The bounds of the pocket level so that we can create multiple instances without overlapping each other.
UPROPERTY(EditAnywhere, Category = "Streaming")
FVector Bounds;
};