Table of Contents

Class VisualShaderNodeSmoothStep

Calculates a SmoothStep function within the visual shader graph.

Inheritance
VisualShaderNodeSmoothStep

Remarks

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.

Properties

op_type

A type of operands and returned value.

var op_type : int = 0

Property Value

int

Remarks

  • void set_op_type(int value)
  • int get_op_type