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

.

.
::

..RotatePositionVector3 Method (Single, Vector3)

gradient

Rotates the object around the specified Pivot Point, changing its Position, without changing its Orientation.

NOTE: The Pivot Point's Z-value is ignored.

NOTE: This function is provided for convenience when using 3D Vectors in 2D coordinate systems.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public void RotatePositionVector3(

 float fRotation,

 Vector3 sPivotPoint

)

Visual Basic

Public Sub RotatePositionVector3 (

 fRotation As Single,

 sPivotPoint As Vector3

)

Visual C++

public:

void RotatePositionVector3(

 float fRotation,

 Vector3 sPivotPoint

)

Parameters

fRotation

Type: System..::..Single

The Rotation in radians to apply to the object

sPivotPoint

Type: Vector3

The Point to rotate the object around. NOTE: The Z-value is ignored, since this is a 2D rotation.

collapse_allSee Also

PivotPoint2D Class

PivotPoint2D Members

RotatePositionVector3 Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com