This singleton struct contains default settings for scene objects Generated from class MR.SceneSettings. This is the const half of the class.
More...
Inheritance diagram for MR.Const_SceneSettings:Classes | |
| struct | _Underlying |
Public Types | |
| enum | BoolType : int { UseDefaultScenePropertiesOnDeserialization = 0 , Count = 1 } |
| enum | FloatType : int { FeaturePointsAlpha = 0 , FeatureLinesAlpha = 1 , FeatureMeshAlpha = 2 , FeatureSubPointsAlpha = 3 , FeatureSubLinesAlpha = 4 , FeatureSubMeshAlpha = 5 , FeatureLineWidth = 6 , FeatureSubLineWidth = 7 , FeaturePointSize = 8 , FeatureSubPointSize = 9 , AmbientCoefSelectedObj = 10 , Count = 11 } |
| enum | ShadingMode : int { AutoDetect = 0 , Smooth = 1 , Flat = 2 } |
| Mesh faces shading mode. | |
Static Public Member Functions | |
| static void | reset () |
Generated from method MR.SceneSettings.reset. | |
| static bool | get (MR.SceneSettings.BoolType type) |
Generated from method MR.SceneSettings.get. | |
| static float | get (MR.SceneSettings.FloatType type) |
Generated from method MR.SceneSettings.get. | |
| static void | set (MR.SceneSettings.BoolType type, bool value) |
Generated from method MR.SceneSettings.set. | |
| static void | set (MR.SceneSettings.FloatType type, float value) |
Generated from method MR.SceneSettings.set. | |
| static MR.SceneSettings.ShadingMode | getDefaultShadingMode () |
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 Generated from method MR.SceneSettings.getDefaultShadingMode. | |
| static void | setDefaultShadingMode (MR.SceneSettings.ShadingMode mode) |
Generated from method MR.SceneSettings.setDefaultShadingMode. | |
| static unsafe MR.Const_CNCMachineSettings | getCNCMachineSettings () |
Generated from method MR.SceneSettings.getCNCMachineSettings. | |
| static unsafe void | setCNCMachineSettings (MR.Const_CNCMachineSettings settings) |
Generated from method MR.SceneSettings.setCNCMachineSettings. | |
Additional Inherited Members | |
Protected Attributes inherited from MR.Misc.Object< Const_SceneSettings > | |
| bool | _IsOwningVal |
Properties inherited from MR.Misc.Object< Const_SceneSettings > | |
| virtual bool | _IsOwning [get] |
| Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough. | |
This singleton struct contains default settings for scene objects Generated from class MR.SceneSettings. This is the const half of the class.
| enum MR.Const_SceneSettings.BoolType : int |
| Enumerator | |
|---|---|
| UseDefaultScenePropertiesOnDeserialization | on deserialization replace object properties with default values from SceneSettings and SceneColors |
| Count | total count |