Class CeresNode
Base class for ceres graph node
public abstract class CeresNode : IEnumerable<CeresNode>, IDisposable
- Inheritance
-
objectCeresNode
- Implements
-
IDisposable
- Derived
Properties
GraphPosition
Node graph position
public Rect GraphPosition { get; set; }
Property Value
- Rect
Guid
Node unique id
public string Guid { get; set; }
Property Value
- string
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
- IEnumerator<CeresNode>
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
namestringrichTextbool
Returns
- string
GetTargetSubtitle(Type, bool)
public static string GetTargetSubtitle(Type type, bool richText = true)
Parameters
typeTyperichTextbool
Returns
- string
GetTypeName()
Get node type short name for debug purpose
public string GetTypeName()
Returns
- string
MakeSubtitle(string, bool)
public static string MakeSubtitle(string subtitle, bool richText = true)
Parameters
subtitlestringrichTextbool
Returns
- string