Calculates a SmoothStep function within the visual shader graph.
Translates to [code]smoothstep(edge0, edge1, x)[/code] in the shader language. Returns [code]0.0[/code] if [code]x[/code] is smaller than [code]edge0[/code] and [code]1.0[/code] if [code]x[/code] is larger than [code]edge1[/code]. Otherwise, the return value is interpolated between [code]0.0[/code] and [code]1.0[/code] using Hermite polynomials.
- A type of operands and returned value.
A floating-point scalar type.
A 2D vector type.
The [code]x[/code] port uses a 2D vector type. The first two ports use a floating-point scalar type.
A 3D vector type.
The [code]x[/code] port uses a 3D vector type. The first two ports use a floating-point scalar type.
A 4D vector type.
The [code]a[/code] and [code]b[/code] ports use a 4D vector type. The [code]weight[/code] port uses a scalar type.
Represents the size of the [enum OpType] enum.