Operator Implicit
Implicit(Double to double3)
Implicitly converts a single double value to a double3 vector by assigning it to every component.
Declaration
public static implicit operator double3(double v)
Parameters
Type | Name | Description |
---|---|---|
Double | v | double to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(Int32 to double3)
Implicitly converts a single int value to a double3 vector by converting it to double and assigning it to every component.
Declaration
public static implicit operator double3(int v)
Parameters
Type | Name | Description |
---|---|---|
Int32 | v | int to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(int3 to double3)
Implicitly converts a int3 vector to a double3 vector by componentwise conversion.
Declaration
public static implicit operator double3(int3 v)
Parameters
Type | Name | Description |
---|---|---|
int3 | v | int3 to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(UInt32 to double3)
Implicitly converts a single uint value to a double3 vector by converting it to double and assigning it to every component.
Declaration
public static implicit operator double3(uint v)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | v | uint to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(uint3 to double3)
Implicitly converts a uint3 vector to a double3 vector by componentwise conversion.
Declaration
public static implicit operator double3(uint3 v)
Parameters
Type | Name | Description |
---|---|---|
uint3 | v | uint3 to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(half to double3)
Implicitly converts a single half value to a double3 vector by converting it to double and assigning it to every component.
Declaration
public static implicit operator double3(half v)
Parameters
Type | Name | Description |
---|---|---|
half | v | half to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(half3 to double3)
Implicitly converts a half3 vector to a double3 vector by componentwise conversion.
Declaration
public static implicit operator double3(half3 v)
Parameters
Type | Name | Description |
---|---|---|
half3 | v | half3 to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(Single to double3)
Implicitly converts a single float value to a double3 vector by converting it to double and assigning it to every component.
Declaration
public static implicit operator double3(float v)
Parameters
Type | Name | Description |
---|---|---|
Single | v | float to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |
Implicit(float3 to double3)
Implicitly converts a float3 vector to a double3 vector by componentwise conversion.
Declaration
public static implicit operator double3(float3 v)
Parameters
Type | Name | Description |
---|---|---|
float3 | v | float3 to convert to double3 |
Returns
Type | Description |
---|---|
double3 | Converted value. |