Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > FComponentRegistry > NewComponentType
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneComponentRegistry.h |
Include | #include "EntitySystem/MovieSceneComponentRegistry.h" |
Source | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactoryTemplates.h |
template<typename T>
TComponentTypeID< T > NewComponentType
&40;
const TCHAR &42;const DebugName,
const FNewComponentTypeParams & Params
&41;
Remarks
Define a new transient tag type using the specified information. Tags have 0 memory overhead.
Transitory tag types must be unregistered when no longer required by calling DestroyComponentTypeSafe or Unsafe to prevent leaking component type IDs A new component type identifier for the tag
Parameters
Name | Description |
---|---|
DebugName | A developer friendly name that accompanies this component type for debugging purposes |
Params | (Optional) Parameters for the type including component flags |