Wrapper for Camera in Mechanical.
Declaration Syntax
public class MechanicalCameraWrapper : CameraWrapper
Table 149: Members
Property | FocalPoint |
The focal point of the camera (coordinates are in the global coordinate system). |
Property | SceneHeight |
Specifies the scene height (in length units) that will be projected and fit to the viewport. |
Property | SceneWidth |
Specifies the scene width (in length units) that will be projected and fit to the viewport. |
Property | UpVector |
The vector pointing up from the focal point. |
Property | ViewVector |
The vector pointing from the focal point to the camera. |
Method | GetAsString(ApplicationType) |
Retrieves the view commands as related to the application type as a string. |
Method | Pan(Quantity, Quantity) |
Shifts the camera position horizontally or vertically based on x and y quantities. |
Method | Rotate(double, CameraAxisType) |
Rotates the camera about an axis. |
Method | SetFit(ISelectionInfo) |
Fits the view to the specified selection. If null is supplied, fits the view to the entire model. |
Method | SetSpecificViewOrientation(ViewOrientationType) |
Sets a specific view orientation. |
Method | Zoom(double) |
Zooms in or out on the model. |