DirectionalAnimationSet.

VectorToDirection(Vector2) Method

Summary

Returns the direction closest to the specified `vector`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
DirectionalAnimationSet

Syntax

public static DirectionalAnimationSet.Direction VectorToDirection(Vector2 vector)

Parameters

Name Type Description
vector Vector2

Return Value