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 & GetComponent
&40;
int32 EntityIndex
&41; const
Remarks
- Get the component from the templated component array index, using its index within this range.
-
will fail an assertion if this entity range does not contain this component type (eg Read/WriteOptional) A reference to the component matching the constness of the access-mode.
Parameters
Name | Description |
---|---|
EntityIndex | The index of the entity within this range |