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