Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function smoothstep

    • Returns the smooth step function result. The return value is 0.0 if x <= edge0, 1.0 if x >= edge1, and performs smooth Hermite interpolation between 0.0 and 1.0 when edge0 < x < edge1.

      Parameters

      • edge0: NodeMaterialConnectionPoint

        The lower edge of the Hermite function.

      • edge1: NodeMaterialConnectionPoint

        The upper edge of the Hermite function.

      • x: NodeMaterialConnectionPoint

        The source value for interpolation.

      • Optionaloptions: Partial<TargetOptions>

        Optional target options.

      Returns NodeMaterialConnectionPoint

      The smoothly interpolated value.