|
Apparatus
Version 1.23
ECS data-oriented workflow for Unreal Engine.
|
A serializable collection of subject records. More...
#include <SubjectRecordCollection.h>


Public Member Functions | |
| void | Add (FSubjectHandle Subject, const EFlagmark FlagmarkMask=FM_AllUserLevel) |
| Add a subject to the collection. | |
| void | Reset (int32 NewSize=0) |
| Remove all of the collected subjects, while leaving the slack. | |
| void | Empty (int32 Slack=0) |
| Remove all of the collected subjects, while leaving the slack. | |
Public Attributes | |
| TArray< FSubjectRecord > | Subjects |
| The actual list of subject records. | |
A serializable collection of subject records.
| void USubjectRecordCollection::Add | ( | FSubjectHandle | Subject, |
| const EFlagmark | FlagmarkMask = FM_AllUserLevel |
||
| ) |
Add a subject to the collection.
| Subject | The subject to add. Must be a valid one. |
| FlagmarkMask | The mask used to capture the flags from the subject. Only user-level flags are captured by default. |
| void USubjectRecordCollection::Empty | ( | int32 | Slack = 0 | ) |
Remove all of the collected subjects, while leaving the slack.
| Slack | The slack capacity to to remained. |
| void USubjectRecordCollection::Reset | ( | int32 | NewSize = 0 | ) |
Remove all of the collected subjects, while leaving the slack.
| NewSize | The expected usage size after calling this function. |
| TArray<FSubjectRecord> USubjectRecordCollection::Subjects |
The actual list of subject records.
Can be accessed and changed directly.