Files
2025-05-18 13:04:45 +08:00

36 lines
665 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Engine/DataAsset.h"
#include "PocketLevel.generated.h"
#define UE_API POCKETWORLDS_API
class UObject;
class UWorld;
/**
*
*/
UCLASS(MinimalAPI)
class UPocketLevel : public UDataAsset
{
GENERATED_BODY()
public:
UE_API 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;
};
#undef UE_API