Navigation
API > API/Plugins > API/Plugins/DisplayCluster
Factory method implementation for custom state templates
Provides a simple way to instantiate custom states of any types. It also performs some additional checks, and automatically registers newly created states.
| Name | TCustomStateFactory |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Cluster/CustomStates/DisplayClusterCustomStateBase.h |
| Include Path | #include "Cluster/CustomStates/DisplayClusterCustomStateBase.h" |
Syntax
template<typename TDataType>
struct TCustomStateFactory
Derived Classes
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< TDataType > Create
(
const FName& InUniqueName, |
Custom states factory method | Cluster/CustomStates/DisplayClusterCustomStateBase.h |