Skip to content

Latest commit

 

History

History
202 lines (169 loc) · 2.33 KB

select.md

File metadata and controls

202 lines (169 loc) · 2.33 KB

select

select(float)

Parameters

condition Type: bool true Type: float false Type: float

Return Value

Type: float

JSON
{
  "Type": "select(float)",
  "Name": "select(float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "condition",
      "Type": "bool"
    },
    {
      "Connection": null,
      "Id": "true",
      "Type": "float"
    },
    {
      "Connection": null,
      "Id": "false",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "float"
    }
  ]
}

select(vec2)

Parameters

condition Type: bool true Type: vec2 false Type: vec2

Return Value

Type: vec2

JSON
{
  "Type": "select(vec2)",
  "Name": "select(vec2)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "condition",
      "Type": "bool"
    },
    {
      "Connection": null,
      "Id": "true",
      "Type": "vec2"
    },
    {
      "Connection": null,
      "Id": "false",
      "Type": "vec2"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec2"
    }
  ]
}

select(vec3)

Parameters

condition Type: bool true Type: vec3 false Type: vec3

Return Value

Type: vec3

JSON
{
  "Type": "select(vec3)",
  "Name": "select(vec3)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "condition",
      "Type": "bool"
    },
    {
      "Connection": null,
      "Id": "true",
      "Type": "vec3"
    },
    {
      "Connection": null,
      "Id": "false",
      "Type": "vec3"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec3"
    }
  ]
}

select(vec4)

Parameters

condition Type: bool true Type: vec4 false Type: vec4

Return Value

Type: vec4

JSON
{
  "Type": "select(vec4)",
  "Name": "select(vec4)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "condition",
      "Type": "bool"
    },
    {
      "Connection": null,
      "Id": "true",
      "Type": "vec4"
    },
    {
      "Connection": null,
      "Id": "false",
      "Type": "vec4"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec4"
    }
  ]
}