Class CeresNode
Base class for ceres graph node
Implements
System.Collections.Generic.IEnumerable<T><CeresNode>
System.Collections.IEnumerable
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Ceres.Graph
Assembly: cs.temp.dll.dll
Syntax
public abstract class CeresNode : IEnumerable<CeresNode>, IEnumerable, IDisposable
Properties
GraphPosition
Node graph position
Declaration
public Rect GraphPosition { get; set; }
Property Value
Type | Description |
---|---|
Rect |
Guid
Node unique id
Declaration
public string Guid { get; set; }
Property Value
Type | Description |
---|---|
string |
NodeData
Declaration
public CeresNodeData NodeData { get; protected set; }
Property Value
Type | Description |
---|---|
CeresNodeData |
Methods
Dispose()
Release on node destroy
Declaration
public virtual void Dispose()
GetEnumerator()
Declaration
public virtual IEnumerator<CeresNode> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T><CeresNode> |
GetExecutionPath()
Get node instance execution path
Declaration
public virtual ExecutionPath GetExecutionPath()
Returns
Type | Description |
---|---|
ExecutionPath |
GetExecutionPath(Type)
Declaration
public static ExecutionPath GetExecutionPath(Type nodeType)
Parameters
Type | Name | Description |
---|---|---|
Type | nodeType |
Returns
Type | Description |
---|---|
ExecutionPath |
GetSerializedData()
Get serialized data of this node
Declaration
public virtual CeresNodeData GetSerializedData()
Returns
Type | Description |
---|---|
CeresNodeData |
GetTargetSubtitle(string, bool)
Declaration
public static string GetTargetSubtitle(string name, bool richText = true)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
bool | richText |
Returns
Type | Description |
---|---|
string |
GetTargetSubtitle(Type, bool)
Declaration
public static string GetTargetSubtitle(Type type, bool richText = true)
Parameters
Type | Name | Description |
---|---|---|
Type | type | |
bool | richText |
Returns
Type | Description |
---|---|
string |
GetTypeName()
Get node type short name for debug purpose
Declaration
public string GetTypeName()
Returns
Type | Description |
---|---|
string |
MakeSubtitle(string, bool)
Declaration
public static string MakeSubtitle(string subtitle, bool richText = true)
Parameters
Type | Name | Description |
---|---|---|
string | subtitle | |
bool | richText |
Returns
Type | Description |
---|---|
string |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
IDisposable