DX9ToolsR4 - Created by: X | |
GeneralHelpers.RestrictVector2 Method (Vector2, Rectangle)
Restricts a Vector2 type within a specified region.
[Visual Basic]Overloads Public Shared Function RestrictVector2( _
ByVal
V As
Vector2, _
ByVal
R As
Rectangle _
) As
Vector2 Parameters
- V
- The vector2 type to restrict.
- R
- The rectangle representing the region to restrict the Vector2 type to.
Return Value
Returns the restricted Vector2 type.
See Also
GeneralHelpers Class | CBX.Libs.DX9ToolsR4 Namespace | GeneralHelpers.RestrictVector2 Overload List