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