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