Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
..RotatePosition Method (Single, Vector2, Vector2)
|
|
Returns the new Position after Rotating the given Position around the specified Pivot Point
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static Vector2 RotatePosition(
float fRotation,
Vector2 sPivotPoint,
Vector2 sPosition
)
|
Visual Basic
|
Public Shared Function RotatePosition (
fRotation As Single,
sPivotPoint As Vector2,
sPosition As Vector2
) As Vector2
|
Visual C++
|
public:
static Vector2 RotatePosition(
float fRotation,
Vector2 sPivotPoint,
Vector2 sPosition
)
|
Parameters
fRotation
Type: System..::..Single
The Rotation in radians to rotate around the Pivot Point by
sPivotPoint
Type: Vector2
The Point to Rotate around
sPosition
Type: Vector2
The current Position of the object
Return Value
Type: Vector2
Returns the new Position after Rotating the given Position around the specified Pivot Point
See Also
PivotPoint2D Class
PivotPoint2D Members
RotatePosition Overload
DPSF Namespace
Send comments on this topic to
|