Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityRange.h |
Include |
#include "EntitySystem/MovieSceneEntityRange.h" |
template<typename... T>
struct TEntityPtr
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
Name | Description | |
---|---|---|
|
TEntityPtr ( |
Construct this range from a range and index |
Name | Description | ||
---|---|---|---|
|
auto & |
Get() |
Retrieve the component at the specified Index within this TEntityPtr's parameters. |
|
auto * |
GetOptional() |
Optionally retrieve the component at the specified ComponentTypeIndex within this TEntityPtr's parameters. |
|
Set ( |
Set the value of the component at the specified index withinin this entity |
Name | Description | ||
---|---|---|---|
|
operator--() |
Increment this pointer |
|
|
operator bool() |
Test whether this pointer is valid |
|
|
operator*() |
Dereference this pointer |
|
|
operator++() |
Increment this pointer |