Method FitCamera
FitCamera(Point3, CameraType, double, int, uint)
Set the viewer matrices to adjust the camera to the scene
Declaration
public void FitCamera(Point3 direction, CameraType cameraType, double fov, int viewer = -1, uint fitToOccurrence = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Point3 | direction | Camera direction |
| CameraType | cameraType | Camera type, Orthographic or Perspective |
| double | fov | Field of view (perspective mode only) |
| int | viewer | |
| uint | fitToOccurrence |