FEntityManager::ChangeEntityType

Changes the components that exist on an entity to a new mask

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "EntitySystem/MovieSceneEntityManager.h"

Source

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

Syntax

void ChangeEntityType
(
    FMovieSceneEntityID InEntity,
    const FComponentMask & InNewMask
)

Remarks

Changes the components that exist on an entity to a new mask

Parameters

Parameter

Description

InEntity

The ID of the entity

InNewMask

The new mask of the entity that defines which components it should have

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