Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > TEntityPtr
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityRange.h |
Include | #include "EntitySystem/MovieSceneEntityRange.h" |
template<int ComponentTypeIndex>
auto &42; GetOptional&40;&41; const
Remarks
Optionally retrieve the component at the specified ComponentTypeIndex within this TEntityPtr's parameters.
The const qualifier of the component will match the access mode for the component (const for read, non-const for write) A pointer to the component value, or nullptr if this entity does not have such a component.