You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
791 B
19 lines
791 B
namespace UnityEditor.VFX.Operator
|
|
{
|
|
[VFXHelpURL("Operator-Maximum")]
|
|
[VFXInfo(category = "Math/Clamp")]
|
|
class Maximum : VFXOperatorNumericCascadedUnified
|
|
{
|
|
protected override sealed string operatorName { get { return "Maximum"; } }
|
|
|
|
protected override sealed double defaultValueDouble { get { return 0.0; } }
|
|
protected override sealed float identityValueFloat { get { return float.MinValue; } }
|
|
protected override sealed int identityValueInt { get { return int.MinValue; } }
|
|
protected override sealed uint identityValueUint { get { return uint.MinValue; } }
|
|
|
|
protected override sealed VFXExpression ComposeExpression(VFXExpression a, VFXExpression b)
|
|
{
|
|
return new VFXExpressionMax(a, b);
|
|
}
|
|
}
|
|
}
|