Class CeresPortElement
public class CeresPortElement : Port
- Inheritance
-
CeresPortElement
Properties
EditorField
public VisualElement EditorField { get; }
Property Value
IsExecutionPort
public bool IsExecutionPort { get; }
Property Value
View
public CeresPortView View { get; }
Property Value
Methods
BuildContextualMenu(ContextualMenuPopulateEvent)
protected virtual void BuildContextualMenu(ContextualMenuPopulateEvent evt)
Parameters
CanConnect(CeresPortElement)
Whether this can connect other port with value compatible validation
public bool CanConnect(CeresPortElement other)
Parameters
otherCeresPortElement
Returns
Connect(Edge)
public override void Connect(Edge edge)
Parameters
edgeEdge
Create(CeresPortView)
public static CeresPortElement Create(CeresPortView ownerView)
Parameters
ownerViewCeresPortView
Returns
CreatePortTooltip(Type)
public string CreatePortTooltip(Type valueType)
Parameters
valueTypeType
Returns
Disconnect(Edge)
public override void Disconnect(Edge edge)
Parameters
edgeEdge
GetEditorFieldVisibility()
Whether port editor field is visible
public bool GetEditorFieldVisibility()
Returns
IsCompatibleTo(CeresPortElement)
Whether this port's value is compatible to other port's value
public bool IsCompatibleTo(CeresPortElement other)
Parameters
otherCeresPortElement
Returns
IsConnectable()
Whether this can connect other ports
public bool IsConnectable()
Returns
IsExecutionPortType(Type)
public static bool IsExecutionPortType(Type valueType)
Parameters
valueTypeType
Returns
SetEditorFieldVisibility(bool)
public void SetEditorFieldVisibility(bool isVisible)
Parameters
isVisiblebool