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