VisualShaderNodeStep
Calculates a Step function within the visual shader graph.
Calculates a Step function within the visual shader graph.
Translates to step(edge, x) in the shader language.
Returns 0.0 if x is smaller than edge and 1.0 otherwise.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VisualShaderNodeStepConstructor
public VisualShaderNodeStep();Properties1
OpTypeProperty
public VisualShaderNodeStep.OpTypeEnum OpType { get; set; }A type of operands and returned value.
Methods2
GetOpTypeVisualShaderNodeStep.OpTypeEnum
public VisualShaderNodeStep.OpTypeEnum GetOpType();VisualShaderNodeStep.OpTypeEnumSetOpTypevoid
public void SetOpType(VisualShaderNodeStep.OpTypeEnum opType);| Name | Type | Default |
|---|---|---|
opType | VisualShaderNodeStep.OpTypeEnum | — |
VisualShaderNodeStep.OpTypeEnum
| Value | Description |
|---|---|
Max = 7 | Represents the size of the |
Scalar = 0 | A floating-point scalar type. |
Vector2D = 1 | A 2D vector type. |
Vector2DScalar = 2 | The |
Vector3D = 3 | A 3D vector type. |
Vector3DScalar = 4 | The |
Vector4D = 5 | A 4D vector type. |
Vector4DScalar = 6 | The |