Vp::DisplayOptions
Options specifying various display settings for rendering a scene. More...
#include "Viewport/data/DisplayOptions.h"
Public Functions
| Name | |
|---|---|
| DisplayOptions() =default | |
| bool | shouldDraw(const Entity & entity) const |
Public Attributes
| Name | |
|---|---|
| std::array< glm::vec4, 6 > | clippingPlanes |
| GridOptions | grid |
| GridOptions | localGrid |
| bool | showAxes |
| bool | showCamera |
| bool | showDefault |
| bool | showFrustum |
| bool | showGrids |
| bool | showTracking |
| bool | userClipping |
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() =defaultfunction shouldDraw
cpp
bool shouldDraw(
const Entity & entity
) constPublic 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