Navigation
API > API/Plugins > API/Plugins/DisplayCluster
Type ID generator
It's an auxiliary class that provides a way to differentiate various state implementations (template specialization) in runtime without RTTI. It converts the text based function signatures into FName which is quite good for serialization and comparison.
| Name | TCustomStateTypeId |
| Type | class |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Cluster/CustomStates/DisplayClusterCustomStateBase.h |
| Include Path | #include "Cluster/CustomStates/DisplayClusterCustomStateBase.h" |
Syntax
template<typename TType>
class TCustomStateTypeId
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GenerateTypeId () |
Internal type name generator. | Cluster/CustomStates/DisplayClusterCustomStateBase.h | |
static const FName & GetTypeId() |
Type getter | Cluster/CustomStates/DisplayClusterCustomStateBase.h |