C# 클래스 Pokemon3D.Common.Extensions.TextureExtensions

파일 보기 프로젝트 열기: nilllzz/Pokemon3D

공개 메소드들

메소드 설명
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