VisualShaderNodeSmoothStep
Calculates a SmoothStep function within the visual shader graph.
Calculates a SmoothStep function within the visual shader graph.
Translates to smoothstep(edge0, edge1, x) in the shader language.
Returns 0.0 if x is smaller than edge0 and 1.0 if x is larger than edge1. Otherwise, the return value is interpolated between 0.0 and 1.0 using Hermite polynomials.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VisualShaderNodeSmoothStepConstructor
public VisualShaderNodeSmoothStep();Properties1
OpTypeProperty
public VisualShaderNodeSmoothStep.OpTypeEnum OpType { get; set; }A type of operands and returned value.
Methods2
GetOpTypeVisualShaderNodeSmoothStep.OpTypeEnum
public VisualShaderNodeSmoothStep.OpTypeEnum GetOpType();VisualShaderNodeSmoothStep.OpTypeEnumSetOpTypevoid
public void SetOpType(VisualShaderNodeSmoothStep.OpTypeEnum opType);| Name | Type | Default |
|---|---|---|
opType | VisualShaderNodeSmoothStep.OpTypeEnum | — |
VisualShaderNodeSmoothStep.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 |