DX9ToolsR4 - Created by: X | |
GeneralHelpers.RestrictVector2 Method (Vector2, Point, SizeF)
Restricts a Vector2 type within a specified region.
[Visual Basic]Overloads Public Shared Function RestrictVector2( _
ByVal
V As
Vector2, _
ByVal
L As
Point, _
ByVal
S As
SizeF _
) As
Vector2 Parameters
- V
- The vector2 type to restrict.
- L
- The location representing the top left region to restrict the Vector2 type to.
- S
- The size of the area relative to the location parameter 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