Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityRange.h |
| Include | #include "EntitySystem/MovieSceneEntityRange.h" |
Syntax
template<typename... T>
struct TEntityPtr
Remarks
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
Specializations
Constructors
| Type | Name | Description | |
|---|---|---|---|
TEntityPtr
(
int32 InEntityIndex, |
Construct this range from a range and index |
Functions
| Type | 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. | |
| void | Set
(
ValueType&& InValue |
Set the value of the component at the specified index withinin this entity |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TEntityPtr & | operator-- () |
Increment this pointer | |
| Test whether this pointer is valid | |||
| TEntityPtr & | operator* () |
Dereference this pointer | |
| TEntityPtr & | operator++ () |
Increment this pointer |