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

    Function remap

    • Remaps a value from one range to another.

      Parameters

      • input: NodeMaterialConnectionPoint

        The input value to remap.

      • sourceMin: NodeMaterialConnectionPoint

        The minimum value of the source range.

      • sourceMax: NodeMaterialConnectionPoint

        The maximum value of the source range.

      • targetMin: NodeMaterialConnectionPoint

        The minimum value of the target range.

      • targetMax: NodeMaterialConnectionPoint

        The maximum value of the target range.

      • Optionaloptions: Partial<TargetOptions>

        Optional target options.

      Returns NodeMaterialConnectionPoint