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
PivotPoint3D
.
.
::
..RotatePositionAndOrientation Method (Matrix, Vector3, Vector3%, Quaternion%)
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(

 Matrix sRotationMatrix,

 Vector3 sPivotPoint,

 ref Vector3 srPosition,

 ref Quaternion srOrientation

)

Visual Basic

Public Shared Sub RotatePositionAndOrientation (

 sRotationMatrix As Matrix,

 sPivotPoint As Vector3,

 ByRef srPosition As Vector3,

 ByRef srOrientation As Quaternion

)

Visual C++

public:

static void RotatePositionAndOrientation(

 Matrix sRotationMatrix,

 Vector3 sPivotPoint,

 Vector3srPosition,

 QuaternionsrOrientation

)

Parameters

sRotationMatrix

Type: Matrix

The Rotation to apply to the object

sPivotPoint

Type: Vector3

The Point to rotate the object around

srPosition

Type: Vector3%

The Position of the object (to be modified)

srOrientation

Type: Quaternion%

The Orientation of the object (to be modified)

collapse_allSee Also

PivotPoint3D Class

PivotPoint3D Members

RotatePositionAndOrientation Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com