FEntityManager::FreeEntities

Free all entities that match the specified filter

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

int32 FreeEntities
(
    const FEntityComponentFilter & Filter,
    TSet< FMovieSceneEntityID > * OutFreedEntities
)

Remarks

Free all entities that match the specified filter

Returns

The number of entities released

Parameters

Parameter

Description

Filter

A filter that defines the entities to free. Any entity that passes the filter will be destroyed.

OutFreedEntities

(Optional) A set to populate with all the entities that were freed (including any children)

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