DirectionalAnimationSet.

Snap(Vector2) Method

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
DirectionalAnimationSet

Syntax

public virtual Vector2 Snap(Vector2 vector)

Parameters

Name Type Description
vector Vector2

Return Value

Type Description
Vector2