Skip to content

Latest commit

 

History

History
121 lines (97 loc) · 1.48 KB

File metadata and controls

121 lines (97 loc) · 1.48 KB

getWorldNormal

getWorldNormal

Return Value

Type: vec3

JSON
{
  "Type": "getWorldNormal",
  "Name": "getWorldNormal",
  "Category": 1,
  "InputPins": [],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec3"
    }
  ]
}

getWorldNormal(vec3,vec4,vec3)

Parameters

decodedNormal Type: vec3 vertexTangent Type: vec4 vertexNormal Type: vec3 normalMatrix Type: mat3

Return Value

Type: vec3

JSON
{
  "Type": "getWorldNormal(vec3,vec4,vec3)",
  "Name": "getWorldNormal(vec3,vec4,vec3)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "decodedNormal",
      "Type": "vec3"
    },
    {
      "Connection": null,
      "Id": "vertexTangent",
      "Type": "vec4"
    },
    {
      "Connection": null,
      "Id": "vertexNormal",
      "Type": "vec3"
    },
    {
      "Connection": null,
      "Id": "normalMatrix",
      "Type": "mat3"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec3"
    }
  ]
}

getWorldNormal(vec3)

Parameter

vertexNormal Type: vec3

Return Value

Type: vec3

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