FComponentRegistry::DestroyComponentTypeSafe

Destroy a component type by first removing it from all existing entities @note Will not invalidate any cached [FComponentTypeID](API\Runtime\MovieScene\EntitySystem\FComponentTypeID) or [TComponentTypeID](API\Runtime\MovieScene\EntitySystem\TComponentTypeID) structures

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "EntitySystem/MovieSceneComponentRegistry.h"

Syntax

void DestroyComponentTypeSafe
(
    FComponentTypeID ComponentTypeID
)

Remarks

Destroy a component type by first removing it from all existing entities @note Will not invalidate any cached FComponentTypeID or TComponentTypeID structures

Parameters

Parameter

Description

ComponentTypeID

The component type to destroy

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