Length3.Implicit
Implicit(Length to Length3)
Constructs a new Length3 and assigns each component to the provided length
.
Declaration
public static implicit operator Length3(Length length)
Parameters
Type | Name | Description |
---|---|---|
Length | length | The Length to assign. |
Returns
Type | Description |
---|---|
Length3 |
Implicit(Length2 to Length3)
Constructs a new Length3 with the X and Y components assigned to lengths
.X and lengths
.Y, respectively, and the Z component to Zero.
Declaration
public static implicit operator Length3(Length2 lengths)
Parameters
Type | Name | Description |
---|---|---|
Length2 | lengths | The Lengths to assign. |
Returns
Type | Description |
---|---|
Length3 |