Class CompositorGraphStencil
Inheritance
CompositorGraphStencil
Syntax
public abstract class CompositorGraphStencil : Stencil, ISearcherDatabaseProvider, IAuthoringContextProvider
Properties
Builder
Declaration
public override IBuilder Builder { get; }
Property Value
Overrides
Context
Declaration
public abstract IAuthoringContext Context { get; }
Property Value
Implements
DragNDropHandler
Declaration
public override IExternalDragNDropHandler DragNDropHandler { get; }
Property Value
Overrides
Methods
ClearGraphElementsSearcherDatabases()
Declaration
public void ClearGraphElementsSearcherDatabases()
Implements
ClearGraphVariablesSearcherDatabases()
Declaration
public void ClearGraphVariablesSearcherDatabases()
Implements
ClearReferenceItemsSearcherDatabases()
Declaration
public void ClearReferenceItemsSearcherDatabases()
Implements
Declaration
public void ClearTypeMembersSearcherDatabases()
Implements
ClearTypesItemsSearcherDatabases()
Declaration
public void ClearTypesItemsSearcherDatabases()
Implements
CreateCompositorGraph<TStencil>(String)
Declaration
public static void CreateCompositorGraph<TStencil>(string assetName)
where TStencil : CompositorGraphStencil
Parameters
Type |
Name |
Description |
String |
assetName |
|
Type Parameters
Name |
Description |
TStencil |
|
CreateNodesFromPort(Store, IPortModel, Vector2, IEnumerable<IEdgeModel>, IStackModel, Int32)
Declaration
public override void CreateNodesFromPort(Store store, IPortModel portModel, Vector2 position, IEnumerable<IEdgeModel> edgesToDelete, IStackModel stackModel, int index)
Parameters
CreateTranslator()
Declaration
public override ITranslator CreateTranslator()
Returns
Overrides
CreateVariableModelForDeclaration(IGraphModel, IVariableDeclarationModel, Vector2, SpawnFlags, Nullable<GUID>)
Declaration
public override IVariableModel CreateVariableModelForDeclaration(IGraphModel graphModel, IVariableDeclarationModel declarationModel, Vector2 position, SpawnFlags spawnFlags = SpawnFlags.Undoable | SpawnFlags.CreateNodeAsset | SpawnFlags.Default, GUID? guid = default(GUID? ))
Parameters
Returns
GetBlackboardProvider()
Declaration
public override IBlackboardProvider GetBlackboardProvider()
Returns
Overrides
GetConstantNodeModelType(TypeHandle)
Declaration
public override Type GetConstantNodeModelType(TypeHandle typeHandle)
Parameters
Returns
Overrides
GetDynamicSearcherDatabases(IPortModel)
Declaration
public List<SearcherDatabase> GetDynamicSearcherDatabases(IPortModel portModel)
Parameters
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
Implements
GetGraphElementsSearcherDatabases()
Declaration
public List<SearcherDatabase> GetGraphElementsSearcherDatabases()
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
Implements
GetGraphVariablesSearcherDatabases(IGraphModel, IFunctionModel)
Declaration
public List<SearcherDatabase> GetGraphVariablesSearcherDatabases(IGraphModel graphModel, IFunctionModel functionModel = null)
Parameters
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
Implements
GetPortsSearcherDatabases()
Declaration
public List<SearcherDatabase> GetPortsSearcherDatabases()
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
GetReferenceItemsSearcherDatabases()
Declaration
public List<SearcherDatabase> GetReferenceItemsSearcherDatabases()
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
Implements
GetSearcherAdapter(IGraphModel, String)
Declaration
public override ISearcherAdapter GetSearcherAdapter(IGraphModel graphModel, string title)
Parameters
Returns
Type |
Description |
UnityEditor.Searcher.ISearcherAdapter |
|
Overrides
GetSearcherDatabaseProvider()
Declaration
public override ISearcherDatabaseProvider GetSearcherDatabaseProvider()
Returns
Overrides
GetSearcherFilterProvider()
Declaration
public override ISearcherFilterProvider GetSearcherFilterProvider()
Returns
Overrides
GetSourceFilePath(VSGraphModel)
Declaration
public override string GetSourceFilePath(VSGraphModel graphModel)
Parameters
Returns
Overrides
GetTypeMembersSearcherDatabases(TypeHandle)
Declaration
public List<SearcherDatabase> GetTypeMembersSearcherDatabases(TypeHandle typeHandle)
Parameters
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
Implements
GetTypesSearcherDatabases()
Declaration
public List<SearcherDatabase> GetTypesSearcherDatabases()
Returns
Type |
Description |
List<UnityEditor.Searcher.SearcherDatabase> |
|
Implements
PreProcessGraph(VSGraphModel)
Declaration
public override void PreProcessGraph(VSGraphModel graphModel)
Parameters
Overrides
RegisterReducers(Store)
Declaration
public override void RegisterReducers(Store store)
Parameters
Type |
Name |
Description |
Store |
store |
|
Overrides
ValidateEdgeConnection(IPortModel, IPortModel)
Declaration
public override bool ValidateEdgeConnection(IPortModel inputPort, IPortModel outputPort)
Parameters
Returns
Overrides