FEntityManager::HasComponent

Check whether the specified component has a component of the specified type

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

bool HasComponent
(
    FMovieSceneEntityID EntityID,
    FComponentTypeID ComponentTypeID
) const

Remarks

Check whether the specified component has a component of the specified type

Parameters

Parameter

Description

EntityID

The ID of the entity to check

ComponentTypeID

The type of the component that is being tested for

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