DX9ToolsR4 - Created by: X

GeneralHelpers.UVFromRectangle Method

Converts a rectangle into an array of 4 texture coordanants.

Overload List

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,Point,Size);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,Point,SizeF);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,PointF,Size);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,PointF,SizeF);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,Rectangle);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,RectangleF);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,int,int,int,int);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(Size,float,float,float,float);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,Point,Size);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,Point,SizeF);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,PointF,Size);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,PointF,SizeF);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,Rectangle);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,RectangleF);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,int,int,int,int);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(SizeF,float,float,float,float);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(int,int,int,int,int,int);

Converts a rectangle into an array of 4 texture coordanants.

public static Vector2[] UVFromRectangle(float,float,float,float,float,float);

See Also

GeneralHelpers Class | CBX.Libs.DX9ToolsR4 Namespace