VisualShaderNodeFloatFunc
A scalar floating-point function to be used within the visual shader graph.
A scalar floating-point function to be used within the visual shader graph.
Accept a floating-point scalar (x) to the input port and transform it according to VisualShaderNodeFloatFunc.Function.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VisualShaderNodeFloatFuncConstructor
public VisualShaderNodeFloatFunc();Properties1
FunctionProperty
public VisualShaderNodeFloatFunc.FunctionEnum Function { get; set; }A function to be applied to the scalar.
Methods2
GetFunctionVisualShaderNodeFloatFunc.FunctionEnum
public VisualShaderNodeFloatFunc.FunctionEnum GetFunction();VisualShaderNodeFloatFunc.FunctionEnumSetFunctionvoid
public void SetFunction(VisualShaderNodeFloatFunc.FunctionEnum func);| Name | Type | Default |
|---|---|---|
func | VisualShaderNodeFloatFunc.FunctionEnum | — |
VisualShaderNodeFloatFunc.FunctionEnum
| Value | Description |
|---|---|
Abs = 12 | Returns the absolute value of the parameter. Translates to |
Acos = 4 | Returns the arc-cosine of the parameter. Translates to |
Acosh = 20 | Returns the arc-hyperbolic-cosine of the parameter. Translates to |
Asin = 3 | Returns the arc-sine of the parameter. Translates to |
Asinh = 21 | Returns the arc-hyperbolic-sine of the parameter. Translates to |
Atan = 5 | Returns the arc-tangent of the parameter. Translates to |
Atanh = 22 | Returns the arc-hyperbolic-tangent of the parameter. Translates to |
Ceil = 16 | Finds the nearest integer that is greater than or equal to the parameter. Translates to |
Cos = 1 | Returns the cosine of the parameter. Translates to |
Cosh = 7 | Returns the hyperbolic cosine of the parameter. Translates to |
Degrees = 23 | Convert a quantity in radians to degrees. Translates to |
Exp = 10 | Returns the natural exponentiation of the parameter. Translates to |
Exp2 = 24 | Returns 2 raised by the power of the parameter. Translates to |
Floor = 14 | Finds the nearest integer less than or equal to the parameter. Translates to |
Fract = 17 | Computes the fractional part of the argument. Translates to |
InverseSqrt = 25 | Returns the inverse of the square root of the parameter. Translates to |
Log = 9 | Returns the natural logarithm of the parameter. Translates to |
Log2 = 26 | Returns the base 2 logarithm of the parameter. Translates to |
Max = 32 | Represents the size of the |
Negate = 19 | Negates the |
Oneminus = 31 | Subtracts scalar |
Radians = 27 | Convert a quantity in degrees to radians. Translates to |
Reciprocal = 28 | Finds reciprocal value of dividing 1 by |
Round = 15 | Finds the nearest integer to the parameter. Translates to |
Roundeven = 29 | Finds the nearest even integer to the parameter. Translates to |
Saturate = 18 | Clamps the value between |
Sign = 13 | Extracts the sign of the parameter. Translates to |
Sin = 0 | Returns the sine of the parameter. Translates to |
Sinh = 6 | Returns the hyperbolic sine of the parameter. Translates to |
Sqrt = 11 | Returns the square root of the parameter. Translates to |
Tan = 2 | Returns the tangent of the parameter. Translates to |
Tanh = 8 | Returns the hyperbolic tangent of the parameter. Translates to |
Trunc = 30 | Returns a value equal to the nearest integer to |