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