Class CeresNode
Base class for ceres graph node
public abstract class CeresNode : IEnumerable<CeresNode>, IEnumerable, IDisposable
- Inheritance
-
CeresNode
- Implements
- Derived
- Inherited Members
Constructors
CeresNode()
protected CeresNode()
Fields
PortLists
protected readonly Dictionary<string, IList> PortLists
Field Value
Ports
protected readonly Dictionary<string, CeresPort> Ports
Field Value
SharedVariables
protected readonly List<SharedVariable> SharedVariables
Field Value
Properties
GraphPosition
Node graph position
public Rect GraphPosition { get; set; }
Property Value
Guid
Node unique id
public string Guid { get; set; }
Property Value
NodeData
public CeresNodeData NodeData { get; protected set; }
Property Value
Methods
Dispose()
Release on node destroy
public virtual void Dispose()
GetEnumerator()
public virtual IEnumerator<CeresNode> GetEnumerator()
Returns
GetExecutionPath()
Get node instance execution path
public virtual ExecutionPath GetExecutionPath()
Returns
GetExecutionPath(Type)
public static ExecutionPath GetExecutionPath(Type nodeType)
Parameters
nodeTypeType
Returns
GetSerializedData()
Get serialized data of this node
public virtual CeresNodeData GetSerializedData()
Returns
GetTargetSubtitle(string, bool)
public static string GetTargetSubtitle(string name, bool richText = true)
Parameters
Returns
GetTargetSubtitle(Type, bool)
public static string GetTargetSubtitle(Type type, bool richText = true)
Parameters
Returns
GetTypeName()
Get node type short name for debug purpose
public string GetTypeName()
Returns
MakeSubtitle(string, bool)
public static string MakeSubtitle(string subtitle, bool richText = true)
Parameters
Returns
__getTypeName()
protected virtual string __getTypeName()
Returns
__initializePorts()
protected virtual void __initializePorts()
__initializeVariables()
protected virtual void __initializeVariables()