DX9ToolsR4 - Created by: X | |
GeneralHelpers.UVFromPoint Method (Size, PointF)
Converts a X/Y value into a texture coordanant.
[Visual Basic]Overloads Public Shared Function UVFromPoint( _
ByVal
ImageSize As
Size, _
ByVal
P As
PointF _
) As
Vector2 Parameters
- ImageSize
- The size of the image.
- P
- The location inside the image.
Return Value
Returns a Vector2 type representing the converted X/Y value.
See Also
GeneralHelpers Class | CBX.Libs.DX9ToolsR4 Namespace | GeneralHelpers.UVFromPoint Overload List