VisualShaderNodeVectorOp
A vector operator to be used within the visual shader graph.
A vector operator to be used within the visual shader graph.
A visual shader node for use of vector operators. Operates on vector a and vector b.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VisualShaderNodeVectorOpConstructor
public VisualShaderNodeVectorOp();Properties1
OperatorProperty
public VisualShaderNodeVectorOp.OperatorEnum Operator { get; set; }The operator to be used.
Methods2
GetOperatorVisualShaderNodeVectorOp.OperatorEnum
public VisualShaderNodeVectorOp.OperatorEnum GetOperator();VisualShaderNodeVectorOp.OperatorEnumSetOperatorvoid
public void SetOperator(VisualShaderNodeVectorOp.OperatorEnum op);| Name | Type | Default |
|---|---|---|
op | VisualShaderNodeVectorOp.OperatorEnum | — |
VisualShaderNodeVectorOp.OperatorEnum
| Value | Description |
|---|---|
Add = 0 | Adds two vectors. |
Atan2 = 9 | Returns the arc-tangent of the parameters. |
Cross = 8 | Calculates the cross product of two vectors. |
Div = 3 | Divides vector by vector. |
EnumSize = 12 | Represents the size of the |
Max = 6 | Returns the greater of two values, for each component of the vectors. |
Min = 7 | Returns the lesser of two values, for each component of the vectors. |
Mod = 4 | Returns the remainder of the two vectors. |
Mul = 2 | Multiplies two vectors. |
Pow = 5 | Returns the value of the first parameter raised to the power of the second, for each component of the vectors. |
Reflect = 10 | Returns the vector that points in the direction of reflection. |
Step = 11 | Vector step operator. Returns |
Sub = 1 | Subtracts a vector from a vector. |