Summary
Returns the direction closest to the specified `vector`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Directional
Animation Set
Syntax
public static DirectionalAnimationSet.Direction VectorToDirection(Vector2 vector)
Parameters
Name | Type | Description |
---|---|---|
vector | Vector2 |
Return Value
Type | Description |
---|---|
Directional |