Interface IScriptMappingFunctionContext

interface IScriptMappingFunctionContext {
    value_domain: number[];
    value_max: number;
    value_min: number;
    value_range: number;
    linear(v: number, min: number, max: number): number;
}

Properties

value_domain: number[]
value_max: number
value_min: number
value_range: number

Methods

  • Parameters

    • v: number
    • min: number
    • max: number

    Returns number