Skip to content

ViewCube beta ​

Function of @v12-engine/editor

ts
export declare function ViewCube(props: {
    client: EditorClient;
}): import("solid-js").JSX.Element;

The view cube, in the scene's corner (as Unity's and Blender's gizmo): it turns as the view does, and a click on a face looks from that side of the map, or from above (editor.look.lookFrom). The face the view is square on to is marked. Under it, a button for the view without perspective. Shown unless the editor's settings say not (prefs.viewCube)