Class ReferenceNode
The reference node is a node that represents a provider node. This is useful to keep a tidy looking graph. Only available in the editor.
Implements
Inherited Members
Namespace: InsaneScatterbrain.ScriptGraph
Syntax
[Serializable]
[MovedFrom(false, "InsaneScatterbrain.ScriptGraph", null, "ProviderNodeDuplicate")]
public class ReferenceNode : INode
Constructors
ReferenceNode(IProviderNode)
Creates a new provider node of the given provider node at the given position in the graph editor.
Declaration
public ReferenceNode(IProviderNode providerNode)
Parameters
Type | Name | Description |
---|---|---|
IProviderNode | providerNode | The provider node to refer to. |
Properties
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Position
Gets/sets the reference node's position in the graph editor.
Declaration
public Rect Position { get; set; }
Property Value
Type | Description |
---|---|
Rect |
ProviderNode
Gets the original provider node this reference node is referring to.
Declaration
public IProviderNode ProviderNode { get; }
Property Value
Type | Description |
---|---|
IProviderNode |