Length2.Multiply
Multiply(Length2, float)
Multiplication operator, scales lhs
by rhs
.
Declaration
public static Length2 operator *(Length2 lhs, float rhs)
Parameters
Type | Name | Description |
---|---|---|
Length2 | lhs | Left hand side. |
float | rhs | Right hand side. |
Returns
Type | Description |
---|---|
Length2 | The product as a Length2. |
Multiply(float, Length2)
Multiplication operator, scales rhs
by lhs
.
Declaration
public static Length2 operator *(float lhs, Length2 rhs)
Parameters
Type | Name | Description |
---|---|---|
float | lhs | Left hand side. |
Length2 | rhs | Right hand side. |
Returns
Type | Description |
---|---|
Length2 | The product as a Length2. |
Multiply(Length2, Vector2)
Multiplication operator, scales lhs
by rhs
component-wise.
Declaration
public static Length2 operator *(Length2 lhs, Vector2 rhs)
Parameters
Type | Name | Description |
---|---|---|
Length2 | lhs | Left hand side. |
Vector2 | rhs | Right hand side. |
Returns
Type | Description |
---|---|
Length2 | The product as a Length2. |
Multiply(Vector2, Length2)
Multiplication operator, scales rhs
by lhs
component-wise.
Declaration
public static Length2 operator *(Vector2 lhs, Length2 rhs)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | lhs | Left hand side. |
Length2 | rhs | Right hand side. |
Returns
Type | Description |
---|---|
Length2 | The product as a Length2. |