Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
DPSF API Documentation
|
..RotatePositionAndOrientation Method (Single, Vector2, Vector2%, Single%)
|
|
Rotates the given Position and Orientation around the Pivot Point, changing the Position and Orientation
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static void RotatePositionAndOrientation(
float fRotation,
Vector2 sPivotPoint,
ref Vector2 srPosition,
ref float frOrientation
)
|
Visual Basic
|
Public Shared Sub RotatePositionAndOrientation (
fRotation As Single,
sPivotPoint As Vector2,
ByRef srPosition As Vector2,
ByRef frOrientation As Single
)
|
Visual C++
|
public:
static void RotatePositionAndOrientation(
float fRotation,
Vector2 sPivotPoint,
Vector2% srPosition,
float% frOrientation
)
|
Parameters
fRotation
Type: System..::..Single
The Rotation in radians to apply to the object
sPivotPoint
Type: Vector2
The Point to rotate the object around
srPosition
Type: Vector2%
The Position of the object to be modified
frOrientation
Type: System..::..Single%
The Orientation (rotation) of the object to be modified
See Also
PivotPoint2D Class
PivotPoint2D Members
RotatePositionAndOrientation Overload
DPSF Namespace
Send comments on this topic to
|