Summary
Returns a vector perpendicular to the given value with the same magnitude.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static Vector2 GetPerpendicular(this Vector2 vector)
Parameters
Name | Type | Description |
---|---|---|
vector | Vector2 |
Return Value
Type | Description |
---|---|
Vector2 |