Viewport.SetView (viewType, Boolean, Boolean, Int32, Boolean, Int32) Method
Parameters
- view
- viewType
View type
- fit
- bool
If true fits the view
- animate
- bool
If true performs an animation when changing the view
- margin
- int
Pixels margin from the border, if fit is true
- selectedOnly
- bool
If fit is true, fits only the selected entities
- duration
- int
Animation duration (use 0 to use the Environment.AnimateCameraDuration