| Parameter | Description |
|---|---|
| x | Value to use when computing length. |
float Length of x.
Returns the length of a float value. Equivalent to the absolute value.
| Parameter | Description |
|---|---|
| x | Vector to use when computing length. |
float Length of vector x.
Returns the length of a float2 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing length. |
float Length of vector x.
Returns the length of a float3 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing length. |
float Length of vector x.
Returns the length of a float4 vector.
| Parameter | Description |
|---|---|
| x | Value to use when computing squared length. |
double Squared length of x.
Returns the length of a double value. Equivalent to the absolute value.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
double Squared length of vector x.
Returns the length of a double2 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
double Squared length of vector x.
Returns the length of a double3 vector.
| Parameter | Description |
|---|---|
| x | Vector to use when computing squared length. |
double Squared length of vector x.
Returns the length of a double4 vector.
| Parameter | Description |
|---|---|
| q | The input quaternion. |
float The length of the input quaternion.
Returns the length of a quaternion.