MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/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 void reset ()
 Reset all scene settings to default values.
static bool get (BoolType type)
static float get (FloatType type)
static void set (BoolType type, bool value)
static void set (FloatType type, float value)
static ShadingMode getDefaultShadingMode ()
static void setDefaultShadingMode (ShadingMode mode)
static const CNCMachineSettingsgetCNCMachineSettings ()
static 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: