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