Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FRelationManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FMassEntityHandle > CreateRelationInstances
(
TNotNull< const UScriptStruct* > RelationType, |
Creates a relation type handle with RelationType, and calls the other CreateRelationInstances implementation | MassRelationManager.h | |
TArray< FMassEntityHandle > CreateRelationInstances
(
const FTypeHandle RelationTypeHandle, |
Creates valid relation instances of type RelationTypeHandle, binding Subjects and Objects Note that the input arrays can have their order modified by the function, all the relation pairs that are not valid, are moved to the back of the arrays The number of elements in Subjects and Objects must match. | MassRelationManager.h |
CreateRelationInstances(TNotNull< const UScriptStruct * >, TArrayView< FMassEntityHandle >, TArrayView< FMassEntityHandle >)
Description
Creates a relation type handle with RelationType, and calls the other CreateRelationInstances implementation
| Name | CreateRelationInstances |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassRelationManager.h |
| Include Path | #include "MassRelationManager.h" |
TArray < FMassEntityHandle > CreateRelationInstances
(
TNotNull< const UScriptStruct * > RelationType,
TArrayView < FMassEntityHandle > Subjects,
TArrayView < FMassEntityHandle > Objects
)
CreateRelationInstances(const FTypeHandle, TArrayView< FMassEntityHandle >, TArrayView< FMassEntityHandle >)
Description
Creates valid relation instances of type RelationTypeHandle, binding Subjects and Objects Note that the input arrays can have their order modified by the function, all the relation pairs that are not valid, are moved to the back of the arrays The number of elements in Subjects and Objects must match.
| Name | CreateRelationInstances |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassRelationManager.h |
| Include Path | #include "MassRelationManager.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassRelationManager.cpp |
TArray < FMassEntityHandle > CreateRelationInstances
(
const FTypeHandle RelationTypeHandle,
TArrayView < FMassEntityHandle > Subjects,
TArrayView < FMassEntityHandle > Objects
)