Table of Contents

Class Blackboard

Namespace
Ceres.Graph
Assembly
cs.temp.dll.dll

A medium for centralized storage and exchange of graph data

public class Blackboard : IVariableSource
Inheritance
object
Blackboard
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

Properties

SharedVariables

public List<SharedVariable> SharedVariables { get; }

Property Value

List<SharedVariable>

Methods

CanVariableExposed(SharedVariable)

protected virtual bool CanVariableExposed(SharedVariable variable)

Parameters

variable SharedVariable

Returns

bool

Create<TBlackboard>(List<SharedVariable>, bool)

Create a BlackBoard

public static TBlackboard Create<TBlackboard>(List<SharedVariable> variables = null, bool clone = true) where TBlackboard : Blackboard, new()

Parameters

variables List<SharedVariable>

Variables to add

clone bool

Whether clone source variable

Returns

TBlackboard

Type Parameters

TBlackboard

GetExposedVariables()

Get all exposed shared variables

public SharedVariable[] GetExposedVariables()

Returns

SharedVariable[]

SetBool(string, bool)

public SharedVariable<bool> SetBool(string key, bool value)

Parameters

key string
value bool

Returns

SharedVariable<bool>

SetFloat(string, float)

public SharedVariable<float> SetFloat(string key, float value)

Parameters

key string
value float

Returns

SharedVariable<float>

SetInt(string, int)

public SharedVariable<int> SetInt(string key, int value)

Parameters

key string
value int

Returns

SharedVariable<int>

SetObject(string, object)

public SharedVariable<object> SetObject(string key, object value)

Parameters

key string
value object

Returns

SharedVariable<object>

SetString(string, string)

public SharedVariable<string> SetString(string key, string value)

Parameters

key string
value string

Returns

SharedVariable<string>

SetUObject(string, UObject)

public SharedVariable<UObject> SetUObject(string key, UObject value)

Parameters

key string
value UObject

Returns

SharedVariable<UObject>

SetUObject<T>(string, T)

public SharedVariable<UObject> SetUObject<T>(string key, T value) where T : UObject

Parameters

key string
value T

Returns

SharedVariable<UObject>

Type Parameters

T

SetVector2(string, Vector2)

public SharedVariable<Vector2> SetVector2(string key, Vector2 value)

Parameters

key string
value Vector2

Returns

SharedVariable<Vector2>

SetVector2Int(string, Vector2Int)

public SharedVariable<Vector2Int> SetVector2Int(string key, Vector2Int value)

Parameters

key string
value Vector2Int

Returns

SharedVariable<Vector2Int>

SetVector3(string, Vector3)

public SharedVariable<Vector3> SetVector3(string key, Vector3 value)

Parameters

key string
value Vector3

Returns

SharedVariable<Vector3>

SetVector3Int(string, Vector3Int)

public SharedVariable<Vector3Int> SetVector3Int(string key, Vector3Int value)

Parameters

key string
value Vector3Int

Returns

SharedVariable<Vector3Int>