Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FComponentRegistry
Description
Define a new 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
| Name | NewTag |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneComponentRegistry.h |
| Include Path | #include "EntitySystem/MovieSceneComponentRegistry.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneComponentRegistry.cpp |
FComponentTypeID NewTag
(
const TCHAR *const DebugName,
EComponentTypeFlags Flags
)
A new component type identifier for the tag
Parameters
| Name | Remarks |
|---|---|
| DebugName | A developer friendly name that accompanies this component type for debugging purposes |
| Flags | Flags relating to the new component type |