![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A template class for safe access of basic graph node properties and for easy use of the GraphObservableNode object in combination with a INodeObserver.
See MurlLogicGraphNodeTypes GraphNodeTypes for predefined types.
Murl.Graph.IConstantBufferParameters
The default constructor. Creates a GraphObservableNode object.
Murl.Logic.GraphNodeT.GraphIConstantBufferParameters new()
The constructor including a graph namespace node and path. Creates a GraphObservableNode object.
Murl.Logic.GraphNodeT.GraphIConstantBufferParameters new(Murl.Graph.INamespace namespaceNode, String nodeIdPath)
namespaceNode | The graph namespace node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
The constructor including a graph node. Creates a GraphObservableNode object.
Murl.Logic.GraphNodeT.GraphIConstantBufferParameters new(Murl.Graph.INode node)
node | The graph node. |
The constructor including the graph root node and path. Creates a GraphObservableNode object.
Murl.Logic.GraphNodeT.GraphIConstantBufferParameters new(Murl.Graph.IRoot root, String nodeIdPath)
root | The graph root node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
The constructor including a graph namespace node and path. Creates a GraphObservableNode object.
Murl.Logic.GraphNodeT.GraphIConstantBufferParameters new(Murl.Logic.GraphNodeT.GraphINamespace namespaceNode, String nodeIdPath)
namespaceNode | The logic namespace node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Check if the graph node is valid.
Boolean IsValid()
Remove the reference from the graph node.
Boolean RemoveReference()
Check if a graph node can be referenced by this template's node type.
Boolean CanReference(Murl.Graph.INode node)
node | The graph node to check. |
Check if a graph node can be referenced by this template's node type by resolving a Graph::IReference node.
Boolean CanResolveReference(Murl.Graph.INode node)
node | The graph node to check. |
Get a reference to a graph node by identifier relative to a namespace.
Murl.SharedPointer.LogicIObservableNode GetReference(Murl.Graph.INamespace namespaceNode, String nodeIdPath)
namespaceNode | The graph namespace node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Get a reference to a graph node of this template's node type.
Murl.SharedPointer.LogicIObservableNode GetReference(Murl.Graph.INode node)
node | The graph node. |
Get a reference to a graph node by identifier.
Murl.SharedPointer.LogicIObservableNode GetReference(Murl.Graph.IRoot root, String nodeIdPath)
root | The graph root node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Get a reference to a graph node by identifier relative to a namespace.
Murl.SharedPointer.LogicIObservableNode GetReference(Murl.Logic.GraphNodeT.GraphINamespace namespaceNode, String nodeIdPath)
namespaceNode | The logic namespace node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Get a reference to a graph node by resolving a Graph::IReference node by identifier relative to a namespace.
Murl.SharedPointer.LogicIObservableNode ResolveReference(Murl.Graph.INamespace namespaceNode, String nodeIdPath)
namespaceNode | The graph namespace node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Get a reference to a graph node by resolving a Graph::IReference node.
Murl.SharedPointer.LogicIObservableNode ResolveReference(Murl.Graph.INode node)
node | The Graph::IReference node to resolve. |
Get a reference to a graph node by resolving a Graph::IReference node by identifier.
Murl.SharedPointer.LogicIObservableNode ResolveReference(Murl.Graph.IRoot root, String nodeIdPath)
root | The graph root node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Get a reference to a graph node by resolving a Graph::IReference node by identifier relative to a namespace.
Murl.SharedPointer.LogicIObservableNode ResolveReference(Murl.Logic.GraphNodeT.GraphINamespace namespaceNode, String nodeIdPath)
namespaceNode | The logic namespace node. |
nodeIdPath | The node ID to find, with optional path specification when searching in sub-namespaces. |
Get the graph node interface.
Murl.Graph.IConstantBufferParameters GetNode()
Get the graph Graph::INode interface.
Murl.Graph.INode GetNodeInterface()
Get the Graph::INode node identifier.
String GetId()
Enable/disable logic traversals. Calls Graph::ITraversable::SetActive().
Boolean SetActive(Boolean isActive)
isActive | If true, logic traversals are enabled. |
Check if logic traversals are enabled. Calls Graph::ITraversable::IsActive().
Boolean IsActive()
Enable/disable output traversals. Calls Graph::ITraversable::SetVisible().
Boolean SetVisible(Boolean isVisible)
isVisible | If true, output traversals are enabled. |
Check if output traversals are enabled. Calls Graph::ITraversable::IsVisible().
Boolean IsVisible()
Enable/disable both logic and output traversals. Calls Graph::ITraversable::SetActiveAndVisible().
Boolean SetActiveAndVisible(Boolean enabled)
enabled | If true, both logic and output traversals are enabled. |
Check if both logic and output traversals are enabled. Calls Graph::ITraversable::IsActiveAndVisible().
Boolean IsActiveAndVisible()
Get the graph Graph::INode interface of a child by index.
Murl.Graph.INode GetChild(Integer index)
index | The zero-based index of the child. |
Get the graph Graph::INode interface of a child by identifier.
Murl.Graph.INode GetChild(String identifier)
identifier | The identifier of the child to search for. |
Return the number of the graph node's children.
Integer GetNumberOfChildren()
Get the graph Graph::INode interface of a parent by index.
Murl.Graph.INode GetParent(Integer index)
index | The zero-based index of the parent. |
Get the graph Graph::INode interface of a parent by identifier.
Murl.Graph.INode GetParent(String identifier)
identifier | The identifier of the parent to search for. |
Return the number of the graph node's parents.
Integer GetNumberOfParents()
Return the number of the graph node's controllers.
Integer GetNumberOfControllers()
Get the Graph::ILinkController interface at a given index.
Murl.Graph.ILinkController GetLinkController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::ILogicController interface at a given index.
Murl.Graph.ILogicController GetLogicController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::INodeLinkController interface at a given index.
Murl.Graph.INodeLinkController GetNodeLinkController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::IScriptLogicController interface at a given index.
Murl.Graph.IScriptLogicController GetScriptLogicController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::ITimeController interface at a given index.
Murl.Graph.ITimeController GetTimeController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::IAnimationTimeController interface at a given index.
Murl.Graph.IAnimationTimeController GetAnimationTimeController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::IUniformTimeController interface at a given index.
Murl.Graph.IUniformTimeController GetUniformTimeController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::IWaveUniformTimeController interface at a given index.
Murl.Graph.IWaveUniformTimeController GetWaveUniformTimeController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::IVariableController interface at a given index.
Murl.Graph.IVariableController GetVariableController(Integer index)
index | The zero-based index of the controller. |
Get the Graph::ITimelineVariableController interface at a given index.
Murl.Graph.ITimelineVariableController GetTimelineVariableController(Integer index)
index | The zero-based index of the controller. |
Converts the object content to a string in a reasonable format.