Class NotApproximatelyEqual
Compares two numbers to determine if they are not approximately equal (disregarding floating point precision errors).
Inheritance
NotApproximatelyEqual
Assembly: Unity.VisualScripting.Flow.dll
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
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
b
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
notEqual
Whether A is not approximately equal to B.
Declaration
[DoNotSerialize]
[PortLabel("A ≉ B")]
public ValueOutput notEqual { get; }
Property Value
Methods
Comparison(Flow)
Declaration
public bool Comparison(Flow flow)
Parameters
| Type |
Name |
Description |
| Flow |
flow |
|
Returns
Definition()
Declaration
protected override void Definition()
Overrides
Implements
Extension Methods