36 lines
982 B
C++
36 lines
982 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Features/IModularFeature.h"
|
|
#include "Templates/SubclassOf.h"
|
|
|
|
class UActorComponent;
|
|
|
|
/**
|
|
* Light card Extender API
|
|
*/
|
|
class DISPLAYCLUSTERLIGHTCARDEXTENDER_API IDisplayClusterLightCardActorExtender : public IModularFeature
|
|
{
|
|
public:
|
|
static const FName ModularFeatureName;
|
|
|
|
virtual ~IDisplayClusterLightCardActorExtender() = default;
|
|
|
|
/** Returns the name of the Extender */
|
|
virtual FName GetExtenderName() const = 0;
|
|
|
|
/** Returns the class of the additional subobject that will be created in the actor. */
|
|
virtual TSubclassOf<UActorComponent> GetAdditionalSubobjectClass() = 0;
|
|
|
|
#if WITH_EDITOR
|
|
/** Returns the name of the category in which details of the component are displayed */
|
|
virtual FName GetCategory() const = 0;
|
|
|
|
/** If true, displays properties in their respective categories */
|
|
virtual bool ShouldShowSubcategories() const = 0;
|
|
#endif // WITH_EDITOR
|
|
|
|
};
|