Apparatus
Version 1.23
ECS data-oriented workflow for Unreal Engine.
|
A strongly-typed trait record. More...
#include <TraitRecord.h>
Public Types | |
using | Super = FTraitRecord |
The base struct type. | |
Public Member Functions | |
Data Access | |
const T & | GetDataRef () const |
Get a reference to the trait data. | |
T & | GetDataRef () |
Get a reference to the trait data. | |
Assignment | |
EApparatusStatus | Set (const T &InTrait) |
Set the data of the record. | |
TTraitRecord & | operator= (const T &InTrait) |
Set the data of the record. | |
Initialization | |
TTraitRecord () | |
Initialize a new instance of the trait record. | |
TTraitRecord (const T &InTrait) | |
Initialize a new record instance as a copy of a trait. | |
A strongly-typed trait record.
T | The type of the trait. |
using TTraitRecord< T >::Super = FTraitRecord |
The base struct type.
|
inline |
Initialize a new instance of the trait record.
|
inline |
Initialize a new record instance as a copy of a trait.
InTrait | The trait to copy. |
|
inline |
Get a reference to the trait data.
Mutable version.
|
inline |
Get a reference to the trait data.
Constant version.
|
inline |
Set the data of the record.
InTrait | The trait to set to. |
|
inline |
Set the data of the record.
InTrait | The trait to set to. |