Navigation
API > API/Plugins > API/Plugins/ConcertSharedSlate > API/Plugins/ConcertSharedSlate/IObjectHierarchyModel
Description
Gets all direct children in the hierarchy.
An example for what ForEachDirectChild could return in an editor build:
- Actor returns its root component, non-scene components (UActorComponents), and all other direct subobjects
- Scene components return their children, and all other direct subobjects
- All other subobjects report all direct subobjects The hierarchy is implementation defined: the above is just an example for describing how ForEachDirectChild should operate.
| Name | ForEachDirectChild |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertUI/ConcertSharedSlate/Source/ConcertSharedSlate/Public/Replication/Editor/Model/Object/IObjectHierarchyModel.h |
| Include Path | #include "Replication/Editor/Model/Object/IObjectHierarchyModel.h" |
void ForEachDirectChild
(
const TSoftObjectPtr <> & Root,
TFunctionRef < EBreakBehavior <> &Object, EChildRelationship Relationship)> Callback,
EChildRelationshipFlags InclusionFlags
) const
Parameters
| Name | Remarks |
|---|---|
| Root | |
| Callback | |
| InclusionFlags | Specifies the relationships that should be included |