C# Class Xenko.Assets.Presentation.Quantum.EntityHierarchyPropertyGraph

Inheritance: AssetCompositeHierarchyPropertyGraph
Show file Open project: xen2/stride

Public Methods

Method Description
EntityHierarchyPropertyGraph ( AssetPropertyGraphContainer container, AssetItem assetItem, ILogger logger ) : System
FindTarget ( IGraphNode sourceNode, IGraphNode target ) : IGraphNode
IsChildPartReference ( IGraphNode node, Index index ) : bool

Protected Methods

Method Description
AddChildPartToParentPart ( parentPart, childPart, int index ) : void
CanUpdate ( IAssetNode node, ContentChangeType changeType, Index index, object value ) : bool
CloneValueFromBase ( object value, IAssetNode node ) : object
GetIdFromChildPart ( object part ) : Guid
RemoveChildPartFromParentPart ( parentPart, childPart ) : void
RetrieveChildPartNodes ( part ) : IEnumerable
ReuseExistingPart ( AssetCompositeHierarchyData baseHierarchy, clonedPart, existingPart ) : void
RewriteIds ( targetPart, sourcePart ) : void

Private Methods

Method Description
IsComponentForComponentCollection ( IGraphNode node, object value ) : bool

Method Details

AddChildPartToParentPart() protected method

protected AddChildPartToParentPart ( parentPart, childPart, int index ) : void
index int
return void

CanUpdate() protected method

protected CanUpdate ( IAssetNode node, ContentChangeType changeType, Index index, object value ) : bool
node IAssetNode
changeType ContentChangeType
index Index
value object
return bool

CloneValueFromBase() protected method

protected CloneValueFromBase ( object value, IAssetNode node ) : object
value object
node IAssetNode
return object

EntityHierarchyPropertyGraph() public method

public EntityHierarchyPropertyGraph ( AssetPropertyGraphContainer container, AssetItem assetItem, ILogger logger ) : System
container AssetPropertyGraphContainer
assetItem AssetItem
logger ILogger
return System

FindTarget() public method

public FindTarget ( IGraphNode sourceNode, IGraphNode target ) : IGraphNode
sourceNode IGraphNode
target IGraphNode
return IGraphNode

GetIdFromChildPart() protected method

protected GetIdFromChildPart ( object part ) : Guid
part object
return Guid

IsChildPartReference() public method

public IsChildPartReference ( IGraphNode node, Index index ) : bool
node IGraphNode
index Index
return bool

RemoveChildPartFromParentPart() protected method

protected RemoveChildPartFromParentPart ( parentPart, childPart ) : void
return void

RetrieveChildPartNodes() protected method

protected RetrieveChildPartNodes ( part ) : IEnumerable
return IEnumerable

ReuseExistingPart() protected method

protected ReuseExistingPart ( AssetCompositeHierarchyData baseHierarchy, clonedPart, existingPart ) : void
baseHierarchy AssetCompositeHierarchyData
return void

RewriteIds() protected method

protected RewriteIds ( targetPart, sourcePart ) : void
return void