Viewport.GetCameraRotation (viewType, Quaternion) Method

Gets the Quaternion that describes the orientation of the given view.
Public Function GetCameraRotation( _ 
ByVal view As viewType, _ 
Optional ByVal initialRotation As Quaternion = null _ 
) As Quaternion
This language is not supported or no code example is available.
public Quaternion GetCameraRotation( 
viewType view
Quaternion initialRotation = null 
)
This language is not supported or no code example is available.

Parameters

view
viewType

The view to set

initialRotation
Quaternion

An extra rotation to apply to the final rotation

Return Value

Quaternion

The Quaternion.

.NET Framework

Supported in: 4.8

In this article

Definition