viewport const StructDef

Accessing Active Viewport Info, Type, and Transforms

viewport.activeViewport SystemGlobal:activeViewport 4

viewport.isEnabled:<fn>,

viewport.IsWire:<fn>,

viewport.IsPerspView:<fn>,

viewport.CanSetToViewport:<fn>,

viewport.GetCamera:<fn>,

viewport.SetCamera:<fn>,

viewport.GetLayout:<fn>,

viewport.SetLayout:<fn>,

viewport.GetTM:<fn>,

viewport.SetTM:<fn>,

viewport.GetType:<fn>,

viewport.SetType:<fn>,

viewport.resetAllViews:<fn>,

viewport.numViews SystemGlobal:numViews 4

viewport.GetBlowupRect:<fn>,

viewport.setBlowupRect:<fn>,

viewport.GetRegionRect:<fn>,

viewport.setRegionRect:<fn>,

viewport.GetRenderLevel:<fn>,

viewport.SetRenderLevel:<fn>,

viewport.GetTransparencyLevel:<fn>,

viewport.SetTransparencyLevel:<fn>,

viewport.GetGridVisibility:<fn>,

viewport.SetGridVisibility:<fn>,

viewport.GetFPS:<fn>,

viewport.GetScreenScaleFactor:<fn>,

viewport.GetShowEdgeFaces:<fn>,

viewport.SetShowEdgeFaces:<fn>,

viewport.DispBkgImage SystemGlobal:DispBkgImage

viewport.GetFOV:<fn>,

viewport.ZoomToBounds

See also

3ds Max System Globals

Zoom to Bounds