Click or drag to resize
Ab4d.SharpEngine logo

TargetPositionCameraFitIntoView Method

Overload List
 NameDescription
Public methodFitIntoView(BoundingBox, Boolean, Single, Boolean) FitIntoView adjusts the camera's Distance (for PerspectiveCamera) or ViewWidth (for OrthographicCamera) and TargetPosition (if adjustTargetPosition is true) so that the specified BoundingBox will be visible from one edge of the SceneView to another edge.
Public methodFitIntoView(FitIntoViewType, Boolean, Single, Boolean) FitIntoView adjusts the camera's Distance (for PerspectiveCamera) or ViewWidth (for OrthographicCamera) and TargetPosition (if adjustTargetPosition is true) so that all the objects on the scene will be visible from one edge of the SceneView to another edge. This is the same as calling FitIntoView and passing Scene.RootNode as parameter.
Public methodFitIntoView(Vector3, Boolean, Single, Boolean) FitIntoView adjusts the camera's Distance (for PerspectiveCamera) or ViewWidth (for OrthographicCamera) and TargetPosition (if adjustTargetPosition is true) so that all the specified positions will be visible from one edge of the viewport to another edge.
Public methodFitIntoView(SceneNode, FitIntoViewType, Boolean, Single, Boolean) FitIntoView adjusts the camera's Distance (for PerspectiveCamera) or ViewWidth (for OrthographicCamera) and TargetPosition (if adjustTargetPosition is true) so that the specified sceneNode (or all child SceneNodes if sceneNode is GroupNode) will be visible from one edge of the SceneView to another edge.
Top
See Also