Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
Returns a Quaternion orientated according to the given Normal and Up Directions.
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
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.
See Also
Orientation3D Class
Orientation3D Members
DPSF Namespace
Send comments on this topic to
|