Class ScalarDivide
Returns the quotient of two scalars.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Scalar")]
[UnitTitle("Divide")]
public sealed class ScalarDivide : Divide<float>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
defaultDividend
Declaration
protected override float defaultDividend { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Divide<System.Single>.defaultDividend
defaultDivisor
Declaration
protected override float defaultDivisor { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Divide<System.Single>.defaultDivisor
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.Divide<System.Single>.Operation(System.Single, System.Single)