Class BinaryComparisonUnit
Inheritance
BinaryComparisonUnit
Syntax
[UnitCategory("Logic")]
public abstract class BinaryComparisonUnit : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
a
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
b
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
comparison
Declaration
[DoNotSerialize]
public virtual ValueOutput comparison { get; }
Property Value
numeric
Whether the compared inputs are numbers.
Declaration
[Serialize]
[Inspectable]
[InspectorToggleLeft]
public bool numeric { get; set; }
Property Value
outputKey
Declaration
protected virtual string outputKey { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
GenericComparison(Object, Object)
Declaration
protected abstract bool GenericComparison(object a, object b)
Parameters
Returns
NumericComparison(Single, Single)
Declaration
protected abstract bool NumericComparison(float a, float b)
Parameters
Returns
Extension Methods