Vector2D Operators and Type Conversions |
The Vector2D type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds two vectors.
|
![]() ![]() | Division |
Divides a vector by a number.
|
![]() ![]() | Equality |
Compares two vectors for equality.
|
![]() ![]() | GreaterThan |
Compares the lengths of two vectors.
|
![]() ![]() | GreaterThanOrEqual |
Compares the lengths of two vectors.
|
![]() ![]() | (Vector2 to Vector2D) |
Converts the specified Unity Vector2 into its equivalent 2D vector.
|
![]() ![]() | (Vector3 to Vector2D) |
Converts the specified Unity Vector3 into its equivalent 2D vector.
|
![]() ![]() | (Vector2D to Vector2) |
Converts the specified 2D vector into its equivalent Unity Vector2.
|
![]() ![]() | (Vector2D to Vector3) |
Converts the specified 2D vector into its equivalent Unity Vector3.
|
![]() ![]() | (Vector3D to Vector2D) |
Converts the specified 3D vector into its equivalent 2D vector.
|
![]() ![]() | (Vector4D to Vector2D) |
Converts the specified 4D vector into its equivalent 2D vector.
|
![]() ![]() | Inequality |
Compares two vectors for inequality.
|
![]() ![]() | LessThan |
Compares the lengths of two vectors.
|
![]() ![]() | LessThanOrEqual |
Compares the lengths of two vectors.
|
![]() ![]() | Multiply(Single, Vector2D) |
Multiplies a number by a vector.
|
![]() ![]() | Multiply(Vector2D, Single) |
Multiplies a vector by a number.
|
![]() ![]() | Subtraction |
Subtracts one vector from another.
|
![]() ![]() | UnaryNegation |
Negates a vector.
|