EM_Task/UnrealEd/Public/HierarchicalLODVolume.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

26 lines
1023 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "GameFramework/Volume.h"
#include "HierarchicalLODVolume.generated.h"
/** An invisible volume used to manually define/create an HLOD cluster. */
UCLASS(HideCategories = (Actor, Collision, Cooking, Input, LOD, Physics, Replication, Rendering), MinimalAPI)
class AHierarchicalLODVolume: public AVolume
{
GENERATED_UCLASS_BODY()
virtual bool IsEditorOnly() const override { return true; }
virtual bool NeedsLoadForClient() const override { return false; }
virtual bool NeedsLoadForServer() const override { return false; }
virtual bool IsLevelBoundsRelevant() const override { return false; }
public:
/** When set this volume will incorporate actors which bounds overlap with the volume, otherwise only actors which are completely inside of the volume are incorporated */
UPROPERTY(EditAnywhere, Category = "HLOD Volume")
bool bIncludeOverlappingActors;
};