Class NumericComparison
Compares two numeric inputs.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Logic")]
[UnitTitle("Numeric Comparison")]
[UnitSurtitle("Numeric")]
[UnitShortTitle("Comparison")]
[UnitOrder(99)]
[Obsolete("Use the Comparison unit with Numeric enabled instead.")]
public sealed class NumericComparison : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
a
The first input.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
aEqualToB
Whether A is equal to B.
Declaration
[DoNotSerialize]
[PortLabel("A = B")]
public ValueOutput aEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aGreaterThanOrEqualToB
Whether A is greater than or equal to B.
Declaration
[DoNotSerialize]
[PortLabel("A ≥ B")]
public ValueOutput aGreaterThanOrEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aGreatherThanB
Whether A is greater than B.
Declaration
[DoNotSerialize]
[PortLabel("A > B")]
public ValueOutput aGreatherThanB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aLessThanB
Whether A is less than B.
Declaration
[DoNotSerialize]
[PortLabel("A < B")]
public ValueOutput aLessThanB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aLessThanOrEqualToB
Whether A is less than or equal to B.
Declaration
[DoNotSerialize]
[PortLabel("A ≤ B")]
public ValueOutput aLessThanOrEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
b
The second input.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()