Operator explicit operator
explicit operator uint3(bool)
Explicitly converts a single bool value to a uint3 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint3(bool v)
Parameters
Type | Name | Description |
---|---|---|
bool | v | bool to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(bool3)
Explicitly converts a bool3 vector to a uint3 vector by componentwise conversion.
Declaration
public static explicit operator uint3(bool3 v)
Parameters
Type | Name | Description |
---|---|---|
bool3 | v | bool3 to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(int)
Explicitly converts a single int value to a uint3 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint3(int v)
Parameters
Type | Name | Description |
---|---|---|
int | v | int to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(int3)
Explicitly converts a int3 vector to a uint3 vector by componentwise conversion.
Declaration
public static explicit operator uint3(int3 v)
Parameters
Type | Name | Description |
---|---|---|
int3 | v | int3 to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(float)
Explicitly converts a single float value to a uint3 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint3(float v)
Parameters
Type | Name | Description |
---|---|---|
float | v | float to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(float3)
Explicitly converts a float3 vector to a uint3 vector by componentwise conversion.
Declaration
public static explicit operator uint3(float3 v)
Parameters
Type | Name | Description |
---|---|---|
float3 | v | float3 to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(double)
Explicitly converts a single double value to a uint3 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint3(double v)
Parameters
Type | Name | Description |
---|---|---|
double | v | double to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
explicit operator uint3(double3)
Explicitly converts a double3 vector to a uint3 vector by componentwise conversion.
Declaration
public static explicit operator uint3(double3 v)
Parameters
Type | Name | Description |
---|---|---|
double3 | v | double3 to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |