Skip to content

Function: view3dCamera() ​

ts
function view3dCamera(rect, area, angles): View3DCamera;

Experimental

The 2.5D camera of a viewport whose rect (container px, top-left origin) is drawn into area (see the module comment).

Parameters ​

ParameterType
rectReadonly<ViewportRect>
areaReadonly<ViewportRect>
anglesReadonly<View3DAngles>

Returns ​

View3DCamera

Released under the MIT License.