Package com.solibri.smc.api.threed
Interface OrthogonalCameraState
- All Superinterfaces:
- CameraState
OrthogonalCameraState represents the state of 3d camera in orthogonal projection. Orthogonal projection maintains
 parallel lines but provide no sense of depth. The distance from the virtual camera to an object has no affect on the
 size of the rendered object.
- Since:
- 9.12.0
- 
Method SummaryModifier and TypeMethodDescriptionstatic OrthogonalCameraStateCreates a new orthogonal camera state.doubleReturns the view to world scale.Methods inherited from interface com.solibri.smc.api.threed.CameraStategetDirection, getLocation, getUpDirection
- 
Method Details- 
getViewToWorldScaledouble getViewToWorldScale()Returns the view to world scale. This is valid only in the orthogonal projection.- Returns:
- the view to world scale
- Since:
- 9.12.0
 
- 
createstatic OrthogonalCameraState create(Vector3d location, Vector3d direction, Vector3d upDirection, double viewToWorldScale) Creates a new orthogonal camera state.- Parameters:
- location- the location
- direction- the direction
- upDirection- the up direction
- viewToWorldScale- the proportion of camera view to model
- Returns:
- the new camera state
- Since:
- 9.12.0
 
 
-