C# Класс Pokemon3D.Common.Extensions.TextureExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetCenter ( this texture ) : Vector2
GetTexcoordsFromPixelCoords ( this texture, int x, int y ) : Vector2

Описание методов

GetCenter() публичный статический Метод

public static GetCenter ( this texture ) : Vector2
texture this
Результат Microsoft.Xna.Framework.Vector2

GetTexcoordsFromPixelCoords() публичный статический Метод

public static GetTexcoordsFromPixelCoords ( this texture, int x, int y ) : Vector2
texture this
x int
y int
Результат Microsoft.Xna.Framework.Vector2