A static handler that gathers standalone AWorkspaceProvider hierarchies bonded in chain to a single virtual one.
◆ GetMultiLayerParent() [1/2]
Looking for parent cross virtual hierarchy chain.
- Parameters
-
target | Source layout to parent search. |
parent | Layout registered as parental for the layout. |
- Returns
true
in case if found. false
otherwise.
◆ GetMultiLayerParent() [2/2]
static bool Doloro.UIEngine2.VirtualHierarchyLinker.GetMultiLayerParent |
( |
this Window |
target, |
|
|
out AWorkspaceProvider |
parent |
|
) |
| |
|
static |
Looking for parent cross virtual hierarchy chain.
- Parameters
-
target | Source window to parental layout search. |
parent | Layout registered as parental for the layout. |
- Returns
true
in case if found. false
otherwise.
◆ GetMultiLayerRoot()
Looking for parent cross virtual hierarchy chain.
- Parameters
-
target | Source element to parent search. |
- Returns
- Root element in virtual UI hierarchy chain.
◆ GetVirtualChildLayouts()
Returns instance of a layout that exists at the AWorkspaceProvider.ActiveContent's hierarchy.
- Parameters
-
target | Source outer layout to virtual children search. |
- Returns
- Collection of instances of layout in case if exist.
null
otherwise.
◆ GetVirtualComponentInParent< T >()
static T Doloro.UIEngine2.VirtualHierarchyLinker.GetVirtualComponentInParent< T > |
( |
this AGUIElement |
target | ) |
|
|
static |
Sear for component through virtual hierarchy chain of layouts.
- Template Parameters
-
T | Type of the component to search. |
- Parameters
-
target | Search entry point. |
- Returns
- Instance of first faced component.
null
if not found.
◆ GetVirtualCopmonentInChildren< T >()
static T Doloro.UIEngine2.VirtualHierarchyLinker.GetVirtualCopmonentInChildren< T > |
( |
this AGUIElement |
target | ) |
|
|
static |
looking for component within hierarchy virtually chained with AWorkspaceProvider instances.
- Template Parameters
-
T | Type derived from Component to search. |
- Parameters
-
target | Start search point. |
- Returns
- First faced component derived from the type.
null
if not found.
◆ HasVirtualChildHierarchy()
static bool Doloro.UIEngine2.VirtualHierarchyLinker.HasVirtualChildHierarchy |
( |
this AWorkspaceProvider |
target | ) |
|
|
static |
Checks is the layout bonded layouts in virtual hierarchy chain.
- Parameters
-
target | Outer layout to check. |
- Returns
true
in case if currently bonded and active entity has child AWorkspaceProvider instance. false
in case if elements is the final layout in chain.
◆ IsMultiLayerChildOf()
static bool Doloro.UIEngine2.VirtualHierarchyLinker.IsMultiLayerChildOf |
( |
this AGUIElement |
target, |
|
|
AGUIElement |
parent |
|
) |
| |
|
static |
Checks through the virtual layers if the element included to hierarchy.
- Parameters
-
target | Element to check. |
parent | Possible parent in local or virtual hierarchy. |
- Returns
true
in case if a child. false
otherwise.
◆ ReleaseInfo()
Releases precomputed information related to the GUI element for the local registry.
- Parameters
-
target | Element to registry release. |
Use in case if you destroying the object of modifying its hierarchy to prevent bugs when it stays at the save position at the virtual hierarchy chain.
The documentation for this class was generated from the following file:
- D:/Work/GitHub/DGDK22/Assets/Tauri Interactive/Doloro-GDK/Doloro-UI-2/Runtime/Core/Workspaces/VirtualHierarchyLinker.cs