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.
15 lines
502 B
15 lines
502 B
namespace UnityEditor.VFX.Operator
|
|
{
|
|
[VFXHelpURL("Operator-Subtract")]
|
|
[VFXInfo(category = "Math/Arithmetic", synonyms = new []{ "minus" })]
|
|
class Subtract : VFXOperatorNumericCascadedUnified
|
|
{
|
|
protected sealed override string operatorName => "Subtract";
|
|
protected sealed override double defaultValueDouble => 0.0;
|
|
|
|
protected sealed override VFXExpression ComposeExpression(VFXExpression a, VFXExpression b)
|
|
{
|
|
return a - b;
|
|
}
|
|
}
|
|
}
|