Skip to content

Vp::DisplayOptions

Various viewport display settings.

#include "Viewport/data/DisplayOptions.h"

Public Functions

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

Public Attributes

Name
boolshowAxes
boolshowCamera
boolshowDefault
boolshowFrustum
boolshowGrid
boolshowGridLines
boolshowGridXAxis
boolshowGridYAxis
boolshowGridZAxis

Public Functions Documentation

function DisplayOptions

cpp
DisplayOptions() =default
DisplayOptions() =default

function shouldDraw

cpp
bool shouldDraw(
    const Entity & entity
) const
bool shouldDraw(
    const Entity & entity
) const

Public 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 2024-11-06 at 20:16:53 +0000