Table of Contents

Method ToXnaVector2

Namespace
MonoGame.Aseprite.Utils
Assembly
MonoGame.Aseprite.dll

ToXnaVector2(Point)

Converts an AsepriteDotNet point to a MonoGame Vector2 object.

public static Vector2 ToXnaVector2(this Point point)

Parameters

point Point

The AsepriteDotNet point to convert.

Returns

Vector2

The converted MonoGame Vector2 object.