Maps a render scene's world coordinates to a control viewport.
public readonly struct CadSceneViewport
kind:method, kind:property, kind:ctor. Press Esc to clear.CadSceneViewport(CadSize, RenderBounds, Double, CadViewportState)Initializes a new instance of the CadSceneViewport struct.BaseScaleGets the scene-to-screen scale before applying user zoom.IsValidGets a value indicating whether the viewport can render.ScaleGets the total world-to-screen scale.SizeGets the viewport size in screen units.StateGets the viewport zoom and pan state.WorldBoundsGets the fitted scene bounds.WorldCenterGets the fitted world center.ScreenToWorld(CadPoint)Converts a screen-space point into world coordinates.ScreenToWorldDistance(Double)Converts a screen-space distance into world-space units.WorldToScreen(Vector2)Converts a world-space point into screen coordinates.