Operator operator *
operator *(Vertex, float)
Multiples a Vertex object by the specified value
and returns the result in a new Vertex object.
Multiplication is performed component-wise for every attribute.
Declaration
public static Vertex operator *(Vertex a, float value)
Parameters
Type | Name | Description |
---|---|---|
Vertex | a | Vertex object to multiply |
float | value | Multiplication factor. |
Returns
Type | Description |
---|---|
Vertex | A new Vertex with the product of |
Remarks
Color, normal, and tangent values are not normalized within this function. If you are expecting unit vectors, you need to normalize these attributes.