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