Interface IGraphableFieldProvider
Container view controllers implement the IGraphableFieldProvider interface to expose fields to the graph editor. When the implementing view controller is added to a graph, it will expose ports for each of its graphable fields, as defined by this interface.
Inherited Members
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
public interface IGraphableFieldProvider : IGraphable
Properties
GraphableFields
A list of GraphableField objects, each representing a view controller field to be exposed to the graph editor.
Declaration
GraphableField[] GraphableFields { get; }
Property Value
| Type | Description |
|---|---|
| GraphableField[] |
Methods
SetGraphableFieldValue(String, IGraphable[])
Set the appropriate fieldName of your view controller with the connected graphables. This method will be invoked when the view controller is instantiated from a graph.
Declaration
void SetGraphableFieldValue(string fieldName, IGraphable[] graphables)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | fieldName | |
| IGraphable[] | graphables |