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.
17 lines
569 B
17 lines
569 B
using System;
|
|
using UnityEditor.VFX;
|
|
|
|
namespace UnityEditor.VFX.Operator
|
|
{
|
|
[VFXHelpURL("Operator-Add")]
|
|
[VFXInfo(name = "Add", category = "Math/Arithmetic", synonyms = new []{ "Plus" })]
|
|
class Add : VFXOperatorNumericCascadedUnified
|
|
{
|
|
protected override sealed string operatorName { get { return "Add"; } }
|
|
protected override sealed double defaultValueDouble { get { return 0.0; } }
|
|
protected override sealed VFXExpression ComposeExpression(VFXExpression a, VFXExpression b)
|
|
{
|
|
return a + b;
|
|
}
|
|
}
|
|
}
|