Operator Explicit
Explicit(Boolean to uint3)
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 |
---|---|---|
Boolean | v | bool to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
Explicit(bool3 to uint3)
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(Int32 to uint3)
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 |
---|---|---|
Int32 | v | int to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
Explicit(int3 to uint3)
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(Single to uint3)
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 |
---|---|---|
Single | v | float to convert to uint3 |
Returns
Type | Description |
---|---|
uint3 | Converted value. |
Explicit(float3 to uint3)
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(Double to uint3)
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(double3 to uint3)
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. |