Click or drag to resize

ViewportInfoCalculateCameraUpDirection Method

Calculates the camera up direction.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.8
Syntax
public static Vector3d CalculateCameraUpDirection(
	Point3d location,
	Vector3d direction,
	double angle
)

Parameters

location
Type: Rhino.GeometryPoint3d
The camera location.
direction
Type: Rhino.GeometryVector3d
The camera direction.
angle
Type: SystemDouble
The camera rotation angle in radians.

Return Value

Type: Vector3d
The camera up direction.
See Also