min returns the minimum of the two parameters. It
returns y if y is less than
x, otherwise it returns x.
x Type: float y Type: float
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"
}
]
}
x Type: vec2 y Type: vec2
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"
}
]
}
x Type: vec3 y Type: vec3
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"
}
]
}
x Type: vec4 y Type: vec4
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"
}
]
}
x Type: vec2 y Type: float
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"
}
]
}
x Type: vec3 y Type: float
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"
}
]
}
x Type: vec4 y Type: float
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"
}
]
}