normalize returns a vector with the same direction as its parameter, v, but with length 1.
x Type: float
Type: float
JSON
{
"Type": "normalize(float)",
"Name": "normalize(float)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "x",
"Type": "float"
}
],
"OutputPins": [
{
"Id": "",
"Type": "float"
}
]
}
x Type: vec2
Type: vec2
JSON
{
"Type": "normalize(vec2)",
"Name": "normalize(vec2)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "x",
"Type": "vec2"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec2"
}
]
}
x Type: vec3
Type: vec3
JSON
{
"Type": "normalize(vec3)",
"Name": "normalize(vec3)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "x",
"Type": "vec3"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec3"
}
]
}
x Type: vec4
Type: vec4
JSON
{
"Type": "normalize(vec4)",
"Name": "normalize(vec4)",
"Category": 1,
"InputPins": [
{
"Connection": null,
"Id": "x",
"Type": "vec4"
}
],
"OutputPins": [
{
"Id": "",
"Type": "vec4"
}
]
}