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
Orientation3D
.
.
::
..GetQuaternionWithOrientation Method

Orientation3D Class

gradient

Returns a Quaternion orientated according to the given Normal and Up Directions.

Namespace: DPSF

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

collapse_allSyntax

C#

public static Quaternion GetQuaternionWithOrientation(

 Vector3 sNormalDirection,

 Vector3 sUpDirection

)

Visual Basic

Public Shared Function GetQuaternionWithOrientation (

 sNormalDirection As Vector3,

 sUpDirection As Vector3

As Quaternion

Visual C++

public:

static Quaternion GetQuaternionWithOrientation(

 Vector3 sNormalDirection,

 Vector3 sUpDirection

)

Parameters

sNormalDirection

Type: Vector3

The Normal (forward) direction that the Quaternion should face.

sUpDirection

Type: Vector3

The Up direction that the Quaternion should have.

Return Value

Type: Quaternion

Returns a Quaternion orientated according to the given Normal and Up Directions.

collapse_allSee Also

Orientation3D Class

Orientation3D Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com