Skip to content

Vp::DisplayOptions ​

Options specifying various display settings for rendering a scene. More...

#include "Viewport/data/DisplayOptions.h"

Public Functions ​

Name
DisplayOptions() =default
boolshouldDraw(const Entity & entity) const

Public Attributes ​

Name
std::array< glm::vec4, 6 >clippingPlanes
GridOptionsgrid
GridOptionslocalGrid
boolshowAxes
boolshowCamera
boolshowDefault
boolshowFrustum
boolshowGrids
boolshowTracking
booluserClipping

Detailed Description ​

cpp
class Vp::DisplayOptions;

Options specifying various display settings for rendering a scene.

Mainly which objects or their parts are displayed. DisplayOptions are passed to entities during rendering, unlike RenderOptions which mainly group options related to render targets.

Public Functions Documentation ​

function DisplayOptions ​

cpp
DisplayOptions() =default

function shouldDraw ​

cpp
bool shouldDraw(
    const Entity & entity
) const

Public Attributes Documentation ​

variable clippingPlanes ​

cpp
std::array< glm::vec4, 6 > clippingPlanes;

variable grid ​

cpp
GridOptions grid;

variable localGrid ​

cpp
GridOptions localGrid;

variable showAxes ​

cpp
bool showAxes {true};

variable showCamera ​

cpp
bool showCamera {true};

variable showDefault ​

cpp
bool showDefault {true};

variable showFrustum ​

cpp
bool showFrustum {true};

variable showGrids ​

cpp
bool showGrids {true};

variable showTracking ​

cpp
bool showTracking {false};

variable userClipping ​

cpp
bool userClipping {false};

Updated on 2026-09-11 at 21:24:25 +0000