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