FComponentRegistry::NewTag

Define a new tag type using the specified information.

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneComponentRegistry.h

Include

#include "EntitySystem/MovieSceneComponentRegistry.h"

Source

/Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneComponentRegistry.cpp

Syntax

FComponentTypeID NewTag
(
    const TCHAR *const DebugName,
    EComponentTypeFlags Flags
)

Remarks

Define a new tag type using the specified information. Tags have 0 memory overhead. @note Transitory tag types must be unregistered when no longer required by calling DestroyComponentTypeSafe or Unsafe to prevent leaking component type IDs

Returns

A new component type identifier for the tag

Parameters

Parameter

Description

Flags

Flags relating to the new component type

DebugName

A developer friendly name that accompanies this component type for debugging purposes

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss