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
)
Public Shared Function CalculateCameraUpDirection (
location As Point3d,
direction As Vector3d,
angle As Double
) As Vector3d
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:
Vector3dThe camera up direction.
See Also