Class CeresNodeData
Metadata for CeresNode
Inheritance
object
CeresNodeData
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 class CeresNodeData
Fields
description
Node user description
Declaration
public string description
Field Value
Type | Description |
---|---|
string |
executionPath
Node execution path
Declaration
public ExecutionPath executionPath
Field Value
Type | Description |
---|---|
ExecutionPath |
genericParameters
Generic type parameters
Declaration
public string[] genericParameters
Field Value
Type | Description |
---|---|
string[] |
graphPosition
Node graph editor position
Declaration
public Rect graphPosition
Field Value
Type | Description |
---|---|
Rect |
guid
Node unique id
Declaration
public string guid
Field Value
Type | Description |
---|---|
string |
nodeType
Node type
Declaration
public ManagedReferenceType nodeType
Field Value
Type | Description |
---|---|
ManagedReferenceType |
portData
Port metadata
Declaration
public CeresPortData[] portData
Field Value
Type | Description |
---|---|
CeresPortData[] |
serializedData
Json serialized data of node properties
Declaration
public string serializedData
Field Value
Type | Description |
---|---|
string |
Methods
AddPortData(CeresPortData)
Declaration
public void AddPortData(CeresPortData data)
Parameters
Type | Name | Description |
---|---|---|
CeresPortData | data |
ClearPortData()
Declaration
public void ClearPortData()
Clone()
Declaration
public virtual CeresNodeData Clone()
Returns
Type | Description |
---|---|
CeresNodeData |
Deserialize(Type)
Deserialize a CeresNode instance from this data
Declaration
public CeresNode Deserialize(Type outNodeType)
Parameters
Type | Name | Description |
---|---|---|
Type | outNodeType |
Returns
Type | Description |
---|---|
CeresNode |
FindPortData(string, int)
Declaration
public CeresPortData FindPortData(string propertyName, int index)
Parameters
Type | Name | Description |
---|---|---|
string | propertyName | |
int | index |
Returns
Type | Description |
---|---|
CeresPortData |
FindPortData(string)
Declaration
public CeresPortData FindPortData(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
string | propertyName |
Returns
Type | Description |
---|---|
CeresPortData |
GetReferencedObjects()
Declaration
public UObject[] GetReferencedObjects()
Returns
Type | Description |
---|---|
UObject[] |
RemovePortData(CeresPortData)
Declaration
public void RemovePortData(CeresPortData data)
Parameters
Type | Name | Description |
---|---|---|
CeresPortData | data |
Serialize(CeresNode)
Serialize node data
Declaration
public void Serialize(CeresNode node)
Parameters
Type | Name | Description |
---|---|---|
CeresNode | node |