20 UseDefaultScenePropertiesOnDeserialization,
30 FeatureSubPointsAlpha,
42 AmbientCoefSelectedObj,
49 MRMESH_API static void set( BoolType type,
bool value );
50 MRMESH_API static void set( FloatType type,
float value );
53 enum class ShadingMode
63 MRMESH_API static ShadingMode getDefaultShadingMode();
64 MRMESH_API static void setDefaultShadingMode( ShadingMode mode );
66 MRMESH_API static const CNCMachineSettings& getCNCMachineSettings();
67 MRMESH_API static void setCNCMachineSettings(
const CNCMachineSettings& settings );
71 ~SceneSettings() =
default;
72 SceneSettings& operator=(
const SceneSettings& other ) =
default;
74 static SceneSettings& instance_();
76 std::array<bool, size_t( BoolType::Count ) > boolSettings_;
77 std::array<float, size_t( FloatType::Count ) > floatSettings_;
79 ShadingMode defaultShadingMode_ = ShadingMode::AutoDetect;
80 CNCMachineSettings cncMachineSettings_;
#define MRMESH_API
Definition MRMeshFwd.h:80
Smooth
Definition MRObjectLinesHolder.h:11
Definition MRCameraOrientationPlugin.h:8