Skip to content

Latest commit

 

History

History
310 lines (249 loc) · 3.39 KB

File metadata and controls

310 lines (249 loc) · 3.39 KB

min

min returns the minimum of the two parameters. It

returns y if y is less than

x, otherwise it returns x.

min(float,float)

Parameters

x Type: float y Type: float

Return Value

Type: float

JSON
{
  "Type": "min(float,float)",
  "Name": "min(float,float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "float"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}

min(vec2,vec2)

Parameters

x Type: vec2 y Type: vec2

Return Value

Type: vec2

JSON
{
  "Type": "min(vec2,vec2)",
  "Name": "min(vec2,vec2)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec2"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "vec2"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec2"
    }
  ]
}

min(vec3,vec3)

Parameters

x Type: vec3 y Type: vec3

Return Value

Type: vec3

JSON
{
  "Type": "min(vec3,vec3)",
  "Name": "min(vec3,vec3)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec3"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "vec3"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec3"
    }
  ]
}

min(vec4,vec4)

Parameters

x Type: vec4 y Type: vec4

Return Value

Type: vec4

JSON
{
  "Type": "min(vec4,vec4)",
  "Name": "min(vec4,vec4)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec4"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "vec4"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec4"
    }
  ]
}

min(vec2,float)

Parameters

x Type: vec2 y Type: float

Return Value

Type: vec2

JSON
{
  "Type": "min(vec2,float)",
  "Name": "min(vec2,float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec2"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec2"
    }
  ]
}

min(vec3,float)

Parameters

x Type: vec3 y Type: float

Return Value

Type: vec3

JSON
{
  "Type": "min(vec3,float)",
  "Name": "min(vec3,float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec3"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec3"
    }
  ]
}

min(vec4,float)

Parameters

x Type: vec4 y Type: float

Return Value

Type: vec4

JSON
{
  "Type": "min(vec4,float)",
  "Name": "min(vec4,float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "x",
      "Type": "vec4"
    },
    {
      "Connection": null,
      "Id": "y",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec4"
    }
  ]
}