Skip to content

Latest commit

 

History

History
149 lines (114 loc) · 1.49 KB

File metadata and controls

149 lines (114 loc) · 1.49 KB

abs

abs returns the absolute value of x.

abs(float)

Parameter

x Type: float

Return Value

Type: float

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

abs(vec2)

Parameter

x Type: vec2

Return Value

Type: vec2

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

abs(vec3)

Parameter

x Type: vec3

Return Value

Type: vec3

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

abs(vec4)

Parameter

x Type: vec4

Return Value

Type: vec4

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