Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityRange.h |
Include |
#include "EntitySystem/MovieSceneEntityRange.h" |
template<int ComponentTypeIndex>
auto * GetComponentOptional
(
int32 EntityIndex
) const
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.
Parameter |
Description |
---|---|
EntityIndex |
The index of the entity within this range |