Class ScalarMaximum
Returns the maximum between two or more scalars.
Inheritance
ScalarMaximum
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Scalar")]
[UnitTitle("Maximum")]
public sealed class ScalarMaximum : Maximum<float>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Methods
Operation(IEnumerable<Single>)
Declaration
public override float Operation(IEnumerable<float> values)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Single> | values |
Returns
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.Maximum<System.Single>.Operation(System.Collections.Generic.IEnumerable<System.Single>)
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.Maximum<System.Single>.Operation(System.Single, System.Single)