DirectionalSet<T>.

Snap(Vector2) Method

Summary

Returns a copy of the `vector` pointing in the closest direction this set has an object for.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
DirectionalSet<T>

Syntax

public abstract Vector2 Snap(Vector2 vector)

Parameters

Name Type Description
vector Vector2

Return Value

Type Description
Vector2