Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
..RotatePositionAndOrientation Method (Matrix, Vector3, Vector3%, Quaternion%)
|
|
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(
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,
Vector3% srPosition,
Quaternion% srOrientation
)
|
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)
See Also
PivotPoint3D Class
PivotPoint3D Members
RotatePositionAndOrientation Overload
DPSF Namespace
Send comments on this topic to
|