Class ScalarSubtract
Returns the difference between two scalars.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Scalar")]
[UnitTitle("Subtract")]
public sealed class ScalarSubtract : Subtract<float>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
defaultMinuend
Declaration
protected override float defaultMinuend { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Subtract<System.Single>.defaultMinuend
defaultSubtrahend
Declaration
protected override float defaultSubtrahend { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Subtract<System.Single>.defaultSubtrahend
Methods
Operation(Single, Single)
Declaration
public override float Operation(float a, float b)
Parameters
Type | Name | Description |
---|---|---|
Single | a | |
Single | b |
Returns
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Subtract<System.Single>.Operation(System.Single, System.Single)