![]() |
Paradox Game Engine
v1.0.0 beta06
|
A class describing the path of a node, relative to a root node. The path can cross references, array, etc. More...
Public Member Functions | |
IModelNode | GetNode () |
Gets the node corresponding to this path. More... | |
override string | ToString () |
Static Public Member Functions | |
static ModelNodePath | GetPath (IModelNode rootNode, IModelNode target) |
Gets a new instance of ModelNodePath corresponding to the path of the given target node relative to the given root node. More... | |
Properties | |
bool | IsValid [get] |
Gets whether this path is a valid path. More... | |
IModelNode | RootNode [get, set] |
Gets the root node of this path. More... | |
A class describing the path of a node, relative to a root node. The path can cross references, array, etc.
Definition at line 14 of file ModelNodePath.cs.
IModelNode SiliconStudio.Quantum.ModelNodePath.GetNode | ( | ) |
Gets the node corresponding to this path.
InvalidOperationException | The path is invalid. |
Definition at line 54 of file ModelNodePath.cs.
References SiliconStudio.Quantum.IModelNode.Content, and IsValid().
|
static |
Gets a new instance of ModelNodePath corresponding to the path of the given target node relative to the given root node.
rootNode | The root node of the path. |
target | The target node of the path. |
Definition at line 90 of file ModelNodePath.cs.
override string SiliconStudio.Quantum.ModelNodePath.ToString | ( | ) |
Definition at line 103 of file ModelNodePath.cs.
References IsValid().
|
get |
Gets whether this path is a valid path.
Definition at line 42 of file ModelNodePath.cs.
Referenced by SiliconStudio.Presentation.Quantum.ValueChangedActionItem.ValueChangedActionItem().
|
getset |
Gets the root node of this path.
Definition at line 47 of file ModelNodePath.cs.