Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > FEntityManager
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
Include | #include "EntitySystem/MovieSceneEntityManager.h" |
template<typename T>
TComponentLock< TReadOptional< T > > ReadComponent
&40;
FMovieSceneEntityID Entity,
TComponentTypeID< T > ComponentTypeID
&41; const
Remarks
Attempt to read a component from an entity.
this is a general purpose convenience utility which should not be used for high-performance runtime code. See FEntityTaskBuilder. A scoped component ptr that points directly to the entity's component, or nullptr if it does not exist
Parameters
Name | Description |
---|---|
Entity | The ID of the entity to read from |
ComponentTypeID | The component that is to be read |