Class NotApproximatelyEqual
Compares two numbers to determine if they are not approximately equal (disregarding floating point precision errors).
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Logic")]
[UnitShortTitle("Not Equal")]
[UnitSubtitle("(Approximately)")]
[UnitOrder(8)]
[Obsolete("Use the Not Equal node with Numeric enabled instead.")]
public sealed class NotApproximatelyEqual : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
a
The first number.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
b
The second number.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
notEqual
Whether A is not approximately equal to B.
Declaration
[DoNotSerialize]
[PortLabel("A ≉ B")]
public ValueOutput notEqual { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Comparison(Flow)
Declaration
public bool Comparison(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Boolean |
Definition()
Declaration
protected override void Definition()