Class FlowGraph
public class FlowGraph : CeresGraph, IDisposableUnregister
- Inheritance
-
objectFlowGraph
- Implements
-
IDisposableUnregister
- Derived
- Inherited Members
Constructors
FlowGraph(FlowGraphSerializedData)
public FlowGraph(FlowGraphSerializedData flowGraphData)
Parameters
flowGraphDataFlowGraphSerializedData
Properties
Events
All ExecutableEvent inside this graph
public ExecutableEvent[] Events { get; }
Property Value
Methods
Compile(CeresGraphCompiler)
Compile graph just in time
public override void Compile(CeresGraphCompiler compiler)
Parameters
compilerCeresGraphCompilerRuntime compiler
Dispose()
public override void Dispose()
ExecuteEvent(UObject, string, EventBase)
Execute graph event
public void ExecuteEvent(UObject contextObject, string eventName, EventBase evtBase = null)
Parameters
contextObjectUObjectGraph execution context object
eventNamestringThe name of event to execute
evtBaseEventBaseSource event
GetExecutionContext()
Get current execution context
public ExecutionContext GetExecutionContext()
Returns
LinkPort(CeresPort, CeresNode, CeresPortData)
protected override void LinkPort(CeresPort port, CeresNode ownerNode, CeresPortData portData)
Parameters
portCeresPortownerNodeCeresNodeportDataCeresPortData
TryExecuteEvent(UObject, string, EventBase)
Try to execute graph event
public bool TryExecuteEvent(UObject contextObject, string eventName, EventBase evtBase = null)
Parameters
contextObjectUObjecteventNamestringevtBaseEventBase
Returns
- bool