Vp::DisplayOptions
Various viewport display settings.
#include "Viewport/data/DisplayOptions.h"
Public Functions
| Name | |
|---|---|
| DisplayOptions() =default | |
| bool | shouldDraw(const Entity & entity) const |
Public Attributes
| Name | |
|---|---|
| bool | showAxes |
| bool | showCamera |
| bool | showDefault |
| bool | showFrustum |
| bool | showGrid |
| bool | showGridLines |
| bool | showGridXAxis |
| bool | showGridYAxis |
| bool | showGridZAxis |
Public Functions Documentation
function DisplayOptions
cpp
DisplayOptions() =defaultDisplayOptions() =defaultfunction shouldDraw
cpp
bool shouldDraw(
const Entity & entity
) constbool shouldDraw(
const Entity & entity
) constPublic Attributes Documentation
variable showAxes
cpp
bool showAxes {true};bool showAxes {true};variable showCamera
cpp
bool showCamera {true};bool showCamera {true};variable showDefault
cpp
bool showDefault {true};bool showDefault {true};variable showFrustum
cpp
bool showFrustum {true};bool showFrustum {true};variable showGrid
cpp
bool showGrid {true};bool showGrid {true};variable showGridLines
cpp
bool showGridLines {true};bool showGridLines {true};variable showGridXAxis
cpp
bool showGridXAxis {true};bool showGridXAxis {true};variable showGridYAxis
cpp
bool showGridYAxis {false};bool showGridYAxis {false};variable showGridZAxis
cpp
bool showGridZAxis {true};bool showGridZAxis {true};Updated on 2025-09-07 at 16:13:51 +0000