#include <MRSceneSettings.h>
Public Types | |
enum class | BoolType { UseDefaultScenePropertiesOnDeserialization , Count } |
enum class | FloatType { FeaturePointsAlpha , FeatureLinesAlpha , FeatureMeshAlpha , FeatureSubPointsAlpha , FeatureSubLinesAlpha , FeatureSubMeshAlpha , FeatureLineWidth , FeatureSubLineWidth , FeaturePointSize , FeatureSubPointSize , AmbientCoefSelectedObj , Count } |
enum class | ShadingMode { AutoDetect , Smooth , Flat } |
Mesh faces shading mode. More... | |
Static Public Member Functions | |
static MRMESH_API void | reset () |
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 CNCMachineSettings & | getCNCMachineSettings () |
static MRMESH_API void | setCNCMachineSettings (const CNCMachineSettings &settings) |
This singleton struct contains default settings for scene objects
|
strong |
Enumerator | |
---|---|
UseDefaultScenePropertiesOnDeserialization | on deserialization replace object properties with default values from SceneSettings and SceneColors |
Count | total count |
|
strong |
|
strong |
Mesh faces shading mode.
Enumerator | |
---|---|
AutoDetect | |
Smooth | |
Flat |
|
static |
|
static |
|
static |
|
static |
Default shading mode for new mesh objects, or imported form files Tools may consider this setting when creating new meshes AutoDetect
: choose depending of file format and mesh shape, fallback to smooth
|
static |
|
static |
|
static |
|
static |
|
static |