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