Reference·JavaScript · @bimworks/viewer3dJavaScript

ViewSide

Type alias in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Type alias

TypeScript#
type ViewSide = "top" | "bottom" | "front" | "back" | "left" | "right";

A side Viewer3d.set2dMode shows the scene from, straight on along an axis of the render frame (CoordinateFrame), named as the faces of StandardSectionPlane: "top" looks down (a plan), "bottom" looks up (the plan seen from below, mirrored), "front" looks from −Y towards +Y, "back" from +Y, "left" from −X and "right" from +X. In GEO mode the axes are east, north and up, so "front" is the south elevation.