Class Not
Inverts the value of a boolean.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Logic", 3)]
[UnitDisplay(showTitle = false, showBigIcon = false)]
[RenamedFrom("Ludiq.Bolt.Negate")]
[RenamedFrom("Bolt.Negate")]
public sealed class Not : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
input
The input boolean.
Declaration
[DoNotSerialize]
[UnitPortDisplay("X", primary = true, showLabel = false)]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
output
True if the input is false, false if the input is true.
Declaration
[DoNotSerialize]
[UnitPortDisplay("~X", primary = true, showLabel = false)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Operation(Flow)
Declaration
public bool Operation(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Boolean |