Operator operator -
operator -(float2)
Returns the result of a componentwise unary minus operation on a float2 vector.
Declaration
public static float2 operator -(float2 val)
Parameters
Type | Name | Description |
---|---|---|
float2 | val | Value to use when computing the componentwise unary minus. |
Returns
Type | Description |
---|---|
float2 | float2 result of the componentwise unary minus. |