FREE TRIAL

|

☀
☾

Length2.Implicit

Implicit(Length to Length2)

Constructs a new Length2 and assigns each component to length.

Declaration
public static implicit operator Length2(Length length)
Parameters
Type Name Description
Length length

The Length to assign.

Returns
Type Description
Length2

Implicit(Vector2 to Length2)

Converts a UnityEngine.Vector2, v, into a Value Length2.

Declaration
public static implicit operator Length2(Vector2 v)
Parameters
Type Name Description
Vector2 v

The length in units, Value.

Returns
Type Description
Length2

A Value Length2 where Value == v.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC