Skip to content

Scene Options

These are settings which affect the visual display of the scene. It is often convenient to set them just before calling polyscope::init, but they may set be anywhere.

#include "polyscope/polyscope.h"

// a few options
polyscope::options::autocenterStructures = true;

// initialize
bool options::autocenterStructures
autocenter structures

If true, all structures will have their transform set to center their bounding box immediately after being registered.

This centers the content nicely in view, but obscures any important absolute world positions.

Default: false.