![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneEntityRange.h>
Public Member Functions | |
| TEntityPtr (int32 InEntityIndex, const TEntityRange< T... > *InOwner) | |
| TEntityPtr & | operator++ () |
| TEntityPtr & | operator-- () |
| TEntityPtr & | operator* () |
| operator bool () const | |
| template<int ComponentTypeIndex> | |
| auto & | Get () const |
| template<int ComponentTypeIndex> | |
| auto * | GetOptional () const |
| template<int ComponentTypeIndex, typename ValueType > | |
| void | Set (ValueType &&InValue) const |
Friends | |
| bool | operator!= (const TEntityPtr &A, const TEntityPtr &B) |
Variadic template representing a single entity with a range of entities with the same a set of typed components.
The template parameters define each component type by index, whose constness should match the read/write semantics of the accessor. For example, an entity with a float, int and bool component, accessed read-only should be represented by a TEntityPtr<const float, const int const bool>. If one wished to write to all the float components, we would require a TEntityPtr<float, const int, const bool> etc
|
inline |
Construct this range from a range and index
|
inline |
Retrieve the component at the specified Index within this TEntityPtr's parameters. Not to be used for Read/WriteOptional variants.
|
inline |
Optionally retrieve the component at the specified ComponentTypeIndex within this TEntityPtr's parameters.
|
inlineexplicit |
Test whether this pointer is valid
|
inline |
Dereference this pointer
|
inline |
Increment this pointer
|
inline |
Increment this pointer
|
inline |
Set the value of the component at the specified index withinin this entity
| InValue | The value to assign to the component |
|
friend |
Compare this pointer with another for equality