collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

DPSF API Documentation

PivotPoint2D
.
.
::
..RotatePositionAndOrientation Method (Single, Vector2, Vector2%, Single%)
gradient

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

collapse_allSyntax

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,

 Vector2srPosition,

 floatfrOrientation

)

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

collapse_allSee Also

PivotPoint2D Class

PivotPoint2D Members

RotatePositionAndOrientation Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com