Files
UnrealEngine/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyHLODBuilder.h
2025-05-18 13:04:45 +08:00

24 lines
645 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "WorldPartition/HLOD/HLODBuilder.h"
#include "WaterBodyHLODBuilder.generated.h"
UCLASS(HideDropdown)
class UWaterBodyHLODBuilder : public UHLODBuilder
{
GENERATED_UCLASS_BODY()
public:
#if WITH_EDITOR
virtual uint32 ComputeHLODHash(const UActorComponent* InSourceComponent) const override;
/**
* Components created with this method need to be properly outered & assigned to your target actor.
*/
virtual TArray<UActorComponent*> Build(const FHLODBuildContext& InHLODBuildContext, const TArray<UActorComponent*>& InSourceComponents) const override;
#endif
};