Class Negate
Inverts the value of a boolean.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitOrderAttribute]
public sealed class Negate : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
input
The input boolean.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput input { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
output
True if the input is false, false if the input is true.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput output { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(Flow)
Declaration
public bool Operation(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| bool |
Implements
IDisposable