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
.

.

::
..RotatePositionAndOrientationVector3 Method (Single, Vector3)

PivotPoint2D Class

gradient

Rotates the object about its center, changing its Orientation, as well as around the specified 3D Pivot Point, changing its 2D Position.

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 RotatePositionAndOrientationVector3(

 float fRotation,

 Vector3 sPivotPoint

)

Visual Basic

Public Sub RotatePositionAndOrientationVector3 (

 fRotation As Single,

 sPivotPoint As Vector3

)

Visual C++

public:

void RotatePositionAndOrientationVector3(

 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

RotatePositionAndOrientationVector3 Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com