Class FieldBool
FieldBool, representation of the field as a bool type. Implements the FieldType
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class FieldBool : FieldType
Constructors
FieldBool(NodeEditor, Object)
Initializes a new instance of the FieldBool class.
Declaration
public FieldBool(NodeEditor editor, object inData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeEditor | editor | The editor. |
| Object | inData | The in data. |
Properties
Data
Gets or sets a value indicating whether this FieldBool is data.
Declaration
public bool Data { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
PortType
Gets the type of the port.
Declaration
public PortType<bool> PortType { get; }
Property Value
| Type | Description |
|---|---|
| PortType<Boolean> | The type of the port. |
Methods
OnValueChanged(ChangeEvent<Boolean>)
Called when [value changed].
Declaration
public void OnValueChanged(ChangeEvent<bool> e)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeEvent<Boolean> | e | The event. |
SynchronizePortValue()
Synchronizes the port value.
Declaration
public override void SynchronizePortValue()