MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::ProjectionMode Struct Reference

Holds values for Axonometric rendering. All fields are optional. More...

#include <projection_mode.hpp>

Public Member Functions

ProjectionModewithAxonometric (bool o)
 
ProjectionModewithXSkew (double o)
 
ProjectionModewithYSkew (double o)
 

Public Attributes

std::optional< bool > axonometric
 Set to True to enable axonometric rendering, false otherwise. More...
 
std::optional< double > xSkew
 The X skew value represents how much to skew on the x-axis. More...
 
std::optional< double > ySkew
 The Y skew value represents how much to skew on the y-axis. More...
 

Detailed Description

Holds values for Axonometric rendering. All fields are optional.

Definition at line 12 of file projection_mode.hpp.

Member Function Documentation

◆ withAxonometric()

ProjectionMode& mbgl::ProjectionMode::withAxonometric ( bool  o)
inline

Definition at line 13 of file projection_mode.hpp.

◆ withXSkew()

ProjectionMode& mbgl::ProjectionMode::withXSkew ( double  o)
inline

Definition at line 14 of file projection_mode.hpp.

◆ withYSkew()

ProjectionMode& mbgl::ProjectionMode::withYSkew ( double  o)
inline

Definition at line 15 of file projection_mode.hpp.

Member Data Documentation

◆ axonometric

std::optional<bool> mbgl::ProjectionMode::axonometric

Set to True to enable axonometric rendering, false otherwise.

Definition at line 20 of file projection_mode.hpp.

◆ xSkew

std::optional<double> mbgl::ProjectionMode::xSkew

The X skew value represents how much to skew on the x-axis.

Definition at line 25 of file projection_mode.hpp.

◆ ySkew

std::optional<double> mbgl::ProjectionMode::ySkew

The Y skew value represents how much to skew on the y-axis.

Definition at line 30 of file projection_mode.hpp.


The documentation for this struct was generated from the following file: