VisualShaderNodeIntFunc
A scalar integer function to be used within the visual shader graph.
A scalar integer function to be used within the visual shader graph.
Accept an integer scalar (x) to the input port and transform it according to VisualShaderNodeIntFunc.Function.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VisualShaderNodeIntFuncConstructor
public VisualShaderNodeIntFunc();Properties1
FunctionProperty
public VisualShaderNodeIntFunc.FunctionEnum Function { get; set; }A function to be applied to the scalar.
Methods2
GetFunctionVisualShaderNodeIntFunc.FunctionEnum
public VisualShaderNodeIntFunc.FunctionEnum GetFunction();VisualShaderNodeIntFunc.FunctionEnumSetFunctionvoid
public void SetFunction(VisualShaderNodeIntFunc.FunctionEnum func);| Name | Type | Default |
|---|---|---|
func | VisualShaderNodeIntFunc.FunctionEnum | — |
VisualShaderNodeIntFunc.FunctionEnum
| Value | Description |
|---|---|
Abs = 0 | Returns the absolute value of the parameter. Translates to |
BitwiseNot = 3 | Returns the result of bitwise |
Max = 4 | Represents the size of the |
Negate = 1 | Negates the |
Sign = 2 | Extracts the sign of the parameter. Translates to |