Class CeresPortElement
Inheritance
object
CeresPortElement
Assembly: cs.temp.dll.dll
Syntax
public class CeresPortElement : Port
Properties
EditorField
Declaration
public VisualElement EditorField { get; }
Property Value
Type |
Description |
VisualElement |
|
View
Declaration
public CeresPortView View { get; }
Property Value
Methods
Declaration
protected virtual void BuildContextualMenu(ContextualMenuPopulateEvent evt)
Parameters
Type |
Name |
Description |
ContextualMenuPopulateEvent |
evt |
|
CanConnect(CeresPortElement)
Whether this can connect other port with value compatible validation
Declaration
public bool CanConnect(CeresPortElement other)
Parameters
Returns
Connect(Edge)
Declaration
public override void Connect(Edge edge)
Parameters
Type |
Name |
Description |
Edge |
edge |
|
Create(CeresPortView)
Declaration
public static CeresPortElement Create(CeresPortView ownerView)
Parameters
Returns
Declaration
public string CreatePortTooltip(Type valueType)
Parameters
Type |
Name |
Description |
Type |
valueType |
|
Returns
Disconnect(Edge)
Declaration
public override void Disconnect(Edge edge)
Parameters
Type |
Name |
Description |
Edge |
edge |
|
GetEditorFieldVisibility()
Declaration
public bool GetEditorFieldVisibility()
Returns
IsCompatibleTo(CeresPortElement)
Whether this port's value is compatible to other port's value
Declaration
public bool IsCompatibleTo(CeresPortElement other)
Parameters
Returns
IsConnectable()
Whether this can connect other ports
Declaration
public bool IsConnectable()
Returns
SetEditorFieldVisibility(bool)
Declaration
public void SetEditorFieldVisibility(bool isVisible)
Parameters
Type |
Name |
Description |
bool |
isVisible |
|