MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::SceneSettings Class Reference

#include <MRSceneSettings.h>

Public Types

enum class  BoolType { BoolType::UseDefaultScenePropertiesOnDeserialization , BoolType::Count }
 
enum class  FloatType {
  FloatType::FeaturePointsAlpha , FloatType::FeatureLinesAlpha , FloatType::FeatureMeshAlpha , FloatType::FeatureSubPointsAlpha ,
  FloatType::FeatureSubLinesAlpha , FloatType::FeatureSubMeshAlpha , FloatType::FeatureLineWidth , FloatType::FeatureSubLineWidth ,
  FloatType::FeaturePointSize , FloatType::FeatureSubPointSize , FloatType::AmbientCoefSelectedObj , FloatType::Count
}
 
enum class  ShadingMode { ShadingMode::AutoDetect , ShadingMode::Smooth , ShadingMode::Flat }
 Mesh faces shading mode. More...
 

Static Public Member Functions

static MRMESH_API void reset ()
 Reset all scene settings to default values.
 
static MRMESH_API bool get (BoolType type)
 
static MRMESH_API float get (FloatType type)
 
static MRMESH_API void set (BoolType type, bool value)
 
static MRMESH_API void set (FloatType type, float value)
 
static MRMESH_API ShadingMode getDefaultShadingMode ()
 
static MRMESH_API void setDefaultShadingMode (ShadingMode mode)
 
static MRMESH_API const CNCMachineSettingsgetCNCMachineSettings ()
 
static MRMESH_API void setCNCMachineSettings (const CNCMachineSettings &settings)
 

Detailed Description

This singleton struct contains default settings for scene objects


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