Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassArchetypeSharedFragmentValu-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstSharedStruct Add_GetRef
(
const FConstSharedStruct& Fragment |
Adds Fragment to the collection. | MassEntityTypes.h | |
FSharedStruct Add_GetRef
(
const FSharedStruct& Fragment |
Adds Fragment to the collection. | MassEntityTypes.h |
Add_GetRef(const FConstSharedStruct &)
Description
Adds Fragment to the collection. Method will ensure if a fragment of the given FMassConstSharedFragment subclass has already been added. In that case the method will return the previously added instance if the given type has been added as a CONST shared fragment and if not it will return an empty FConstSharedStruct.
| Name | Add_GetRef |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityTypes.h |
| Include Path | #include "MassEntityTypes.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityTypes.cpp |
FConstSharedStruct Add_GetRef
(
const FConstSharedStruct & Fragment
)
Add_GetRef(const FSharedStruct &)
Description
Adds Fragment to the collection. Method will ensure if a fragment of the given FMassSharedFragment subclass has already been added. In that case the method will return the previously added instance if the given type has been added as a NON-CONST shared fragment and if not it will return an empty FSharedStruct.
| Name | Add_GetRef |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityTypes.h |
| Include Path | #include "MassEntityTypes.h" |
| Source | /Engine/Source/Runtime/MassEntity/Private/MassEntityTypes.cpp |
FSharedStruct Add_GetRef
(
const FSharedStruct & Fragment
)