Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > TEntityRange
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityRange.h |
Include | #include "EntitySystem/MovieSceneEntityRange.h" |
template<int ComponentTypeIndex>
auto &42; GetComponentOptional
&40;
int32 EntityIndex
&41; const
Remarks
Get a pointer to an entity's component from its templated component array index, using the entity's index within this range. A pointer to the component matching the constness of the access-mode, or nullptr if the component does not exist in this entity range.
Parameters
Name | Description |
---|---|
EntityIndex | The index of the entity within this range |