Summary
Returns a copy of the `vector` pointing in the closest direction this set type has an animation for.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Directional
Animation Set8
Syntax
public static Vector2 SnapVectorToDirection(Vector2 vector)
Parameters
Name | Type | Description |
---|---|---|
vector | Vector2 |
Return Value
Type | Description |
---|---|
Vector2 |