Table of Contents

Class CeresBlackboard

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll
public class CeresBlackboard : Blackboard, IVariableSource, IDisposable
Inheritance
CeresBlackboard
Implements
Derived

Constructors

CeresBlackboard(CeresGraphView)

protected CeresBlackboard(CeresGraphView graphView)

Parameters

graphView CeresGraphView

CeresBlackboard(IVariableSource, GraphView)

public CeresBlackboard(IVariableSource source, GraphView graphView)

Parameters

source IVariableSource
graphView GraphView

Properties

AlwaysExposed

public bool AlwaysExposed { get; set; }

Property Value

bool

SharedVariables

public List<SharedVariable> SharedVariables { get; }

Property Value

List<SharedVariable>

Methods

AddVariable(SharedVariable, bool)

public void AddVariable(SharedVariable variable, bool fireEvents)

Parameters

variable SharedVariable
fireEvents bool

AddVariableRow(SharedVariable, BlackboardRow)

protected virtual void AddVariableRow(SharedVariable variable, BlackboardRow blackboardRow)

Parameters

variable SharedVariable
blackboardRow BlackboardRow

BuildBlackboardMenu(ContextualMenuPopulateEvent, CeresBlackboardVariableRow)

protected virtual void BuildBlackboardMenu(ContextualMenuPopulateEvent evt, CeresBlackboardVariableRow variableRow)

Parameters

evt ContextualMenuPopulateEvent
variableRow CeresBlackboardVariableRow

CanVariableExposed(SharedVariable)

Whether variable can be exposed in blackboard

protected virtual bool CanVariableExposed(SharedVariable variable)

Parameters

variable SharedVariable

Returns

bool

CreateBlackboardMenu(GenericMenu)

protected virtual void CreateBlackboardMenu(GenericMenu menu)

Parameters

menu GenericMenu

CreateVariableBlackboardRow(SharedVariable, BlackboardField, VisualElement)

Create BlackboardRow for variable

protected virtual BlackboardRow CreateVariableBlackboardRow(SharedVariable variable, BlackboardField blackboardField, VisualElement valueField)

Parameters

variable SharedVariable
blackboardField BlackboardField
valueField VisualElement

Returns

BlackboardRow

Dispose()

public void Dispose()

EditVariable(string)

public void EditVariable(string variableName)

Parameters

variableName string

FindRow(SharedVariable)

protected CeresBlackboardVariableRow FindRow(SharedVariable variable)

Parameters

variable SharedVariable

Returns

CeresBlackboardVariableRow

GetOrAddSection(string)

protected BlackboardSection GetOrAddSection(string sectionName)

Parameters

sectionName string

Returns

BlackboardSection

GetValidVariableName(SharedVariable)

public string GetValidVariableName(SharedVariable variable)

Parameters

variable SharedVariable

Returns

string

RemoveVariable(SharedVariable, bool)

public void RemoveVariable(SharedVariable variable, bool fireEvents)

Parameters

variable SharedVariable
fireEvents bool