Class: MechanicalCameraWrapper

Wrapper for Camera in Mechanical.

Methods

Name Description
GetAsString(ApplicationType) Retrieves the view commands as related to the application type as a string.
Pan(Quantity, Quantity) Shifts the camera position horizontally or vertically based on x and y quantities.
Rotate(Double, CameraAxisType) Rotates the camera about an axis.
SetFit(ISelectionInfo) Fits the view to the specified selection. If null is supplied, fits the view to the entire model.
SetSpecificViewOrientation(ViewOrientationType) Sets a specific view orientation.
Zoom(Double) Zooms in or out on the model.

Properties

Name Description
FocalPoint The focal point of the camera (coordinates are in the global coordinate system).
SceneHeight Specifies the scene height (in length units) that will be projected and fit to the viewport.
SceneWidth Specifies the scene width (in length units) that will be projected and fit to the viewport.
UpVector The vector pointing up from the focal point.
ViewVector The vector pointing from the focal point to the camera.