An interface class which allows feature objects to share setters and getters on their main properties, for convenient presentation in the UI Generated from class MR.FeatureObject. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object Derived classes: Direct: (non-virtual) MR.AddVisualProperties<MR.FeatureObject, MR.DimensionsVisualizePropertyType.diameter, MR.DimensionsVisualizePropertyType.angle, MR.DimensionsVisualizePropertyType.length> MR.AddVisualProperties<MR.FeatureObject, MR.DimensionsVisualizePropertyType.diameter, MR.DimensionsVisualizePropertyType.length> MR.AddVisualProperties<MR.FeatureObject, MR.DimensionsVisualizePropertyType.diameter> MR.LineObject MR.PlaneObject MR.PointObject Indirect: (non-virtual) MR.CircleObject MR.ConeObject MR.CylinderObject MR.SphereObject This is the non-const half of the class.
More...
|
| unsafe void | setXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.FeatureObject.setXf. Parameter id defaults to {}.
|
| |
| unsafe void | resetXf (MR._InOpt_ViewportId id=default) |
| | Generated from method MR.FeatureObject.resetXf. Parameter id defaults to {}.
|
| |
| unsafe void | setDecorationsColor (in MR.Color color, bool selected, MR._InOpt_ViewportId viewportId=default) |
| | Generated from method MR.FeatureObject.setDecorationsColor. Parameter viewportId defaults to {}.
|
| |
| unsafe void | setDecorationsColorForAllViewports (MR._ByValue_ViewportProperty_MRColor val, bool selected) |
| | Generated from method MR.FeatureObject.setDecorationsColorForAllViewports.
|
| |
| unsafe void | setPointSize (float pointSize) |
| | Generated from method MR.FeatureObject.setPointSize.
|
| |
| unsafe void | setLineWidth (float lineWidth) |
| | Generated from method MR.FeatureObject.setLineWidth.
|
| |
| unsafe void | setSubfeaturePointSize (float pointSize) |
| | Generated from method MR.FeatureObject.setSubfeaturePointSize.
|
| |
| unsafe void | setSubfeatureLineWidth (float lineWidth) |
| | Generated from method MR.FeatureObject.setSubfeatureLineWidth.
|
| |
| unsafe void | setMainFeatureAlpha (float alpha) |
| | Generated from method MR.FeatureObject.setMainFeatureAlpha.
|
| |
| unsafe void | setSubfeatureAlphaPoints (float alpha) |
| | Generated from method MR.FeatureObject.setSubfeatureAlphaPoints.
|
| |
| unsafe void | setSubfeatureAlphaLines (float alpha) |
| | Generated from method MR.FeatureObject.setSubfeatureAlphaLines.
|
| |
| unsafe void | setSubfeatureAlphaMesh (float alpha) |
| | Generated from method MR.FeatureObject.setSubfeatureAlphaMesh.
|
| |
| unsafe void | setVisualizeProperty (bool value, MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask) |
| | set visual property in all viewports specified by the mask Generated from method MR.FeatureObject.setVisualizeProperty.
|
| |
| unsafe void | setVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask) |
| | set visual property mask Generated from method MR.FeatureObject.setVisualizePropertyMask.
|
| |
| unsafe void | toggleVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask) |
| | toggle visual property in all viewports specified by the mask Generated from method MR.FeatureObject.toggleVisualizeProperty.
|
| |
| unsafe void | setAllVisualizeProperties (MR.Std.Const_Vector_MRViewportMask properties) |
| | set all visualize properties masks Generated from method MR.FeatureObject.setAllVisualizeProperties.
|
| |
| unsafe void | copyAllSolidColors (MR.Const_VisualObject other) |
| | set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.FeatureObject.copyAllSolidColors.
|
| |
| unsafe void | setGlobalClippedByPlane (bool on, MR.Const_ViewportMask? viewportMask=null) |
| | if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only Generated from method MR.FeatureObject.setGlobalClippedByPlane. Parameter viewportMask defaults to ViewportMask.all().
|
| |
| unsafe void | setFrontColor (in MR.Color color, bool selected, MR._InOpt_ViewportId viewportId=default) |
| | sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.FeatureObject.setFrontColor. Parameter viewportId defaults to {}.
|
| |
| unsafe void | setFrontColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val, bool? selected=null) |
| | sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.FeatureObject.setFrontColorsForAllViewports. Parameter selected defaults to true.
|
| |
| unsafe void | setBackColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val) |
| | sets backward color of object in all viewports Generated from method MR.FeatureObject.setBackColorsForAllViewports.
|
| |
| unsafe void | setBackColor (in MR.Color color, MR._InOpt_ViewportId viewportId=default) |
| | sets backward color of object in given viewport Generated from method MR.FeatureObject.setBackColor. Parameter viewportId defaults to {}.
|
| |
| unsafe void | setGlobalAlpha (byte alpha, MR._InOpt_ViewportId viewportId=default) |
| | sets global transparency alpha of object in given viewport Generated from method MR.FeatureObject.setGlobalAlpha. Parameter viewportId defaults to {}.
|
| |
| unsafe void | setGlobalAlphaForAllViewports (MR._ByValue_ViewportProperty_UnsignedChar val) |
| | sets global transparency alpha of object in all viewports Generated from method MR.FeatureObject.setGlobalAlphaForAllViewports.
|
| |
| unsafe void | setDirtyFlags (uint mask, bool? invalidateCaches=null) |
| | sets some dirty flags for the object (to force its visual update)
|
| |
| unsafe void | setPickable (bool on, MR.Const_ViewportMask? viewportMask=null) |
| | sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.FeatureObject.setPickable. Parameter viewportMask defaults to ViewportMask.all().
|
| |
| unsafe void | setColoringType (MR.ColoringType coloringType) |
| | sets coloring mode of the object with given argument Generated from method MR.FeatureObject.setColoringType.
|
| |
| unsafe void | setShininess (float shininess) |
| | sets shininess visual value of the object with given argument Generated from method MR.FeatureObject.setShininess.
|
| |
| unsafe void | setSpecularStrength (float specularStrength) |
| | sets intensity of reflections Generated from method MR.FeatureObject.setSpecularStrength.
|
| |
| unsafe void | setAmbientStrength (float ambientStrength) |
| | sets intensity of non-directional light Generated from method MR.FeatureObject.setAmbientStrength.
|
| |
| unsafe void | setUseDefaultScenePropertiesOnDeserialization (bool useDefaultScenePropertiesOnDeserialization) |
| | set whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR.FeatureObject.setUseDefaultScenePropertiesOnDeserialization.
|
| |
| unsafe void | resetFrontColor () |
| | reset basic object colors to their default values from the current theme Generated from method MR.FeatureObject.resetFrontColor.
|
| |
| unsafe void | resetColors () |
| | reset all object colors to their default values from the current theme Generated from method MR.FeatureObject.resetColors.
|
| |
| unsafe void | setName (string name) |
| | Generated from method MR.FeatureObject.setName.
|
| |
| unsafe void | setXfsForAllViewports (MR._ByValue_ViewportProperty_MRAffineXf3f xf) |
| | modifies xfs for all viewports at once Generated from method MR.FeatureObject.setXfsForAllViewports.
|
| |
| unsafe void | setWorldXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.FeatureObject.setWorldXf. Parameter id defaults to {}.
|
| |
| unsafe void | applyScale (float scaleFactor) |
| | scale object size (all point positions) Generated from method MR.FeatureObject.applyScale.
|
| |
| unsafe void | setGlobalVisibility (bool on, MR.Const_ViewportMask? viewportMask=null) |
| | if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.FeatureObject.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().
|
| |
| unsafe void | setLocked (bool on) |
| | Generated from method MR.FeatureObject.setLocked.
|
| |
| unsafe void | setParentLocked (bool lock_) |
| | Generated from method MR.FeatureObject.setParentLocked.
|
| |
| unsafe bool | detachFromParent () |
| | removes this from its parent children list returns false if it was already orphan Generated from method MR.FeatureObject.detachFromParent.
|
| |
| unsafe bool | addChild (MR._ByValueShared_Object child, bool? recognizedChild=null) |
| | adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;
|
| |
| unsafe bool | addChildBefore (MR._ByValueShared_Object newChild, MR.Const_Object existingChild) |
| | adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR.FeatureObject.addChildBefore.
|
| |
| unsafe void | removeAllChildren () |
| | detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.FeatureObject.removeAllChildren.
|
| |
| unsafe void | sortChildren () |
| | sort recognized children by name Generated from method MR.FeatureObject.sortChildren.
|
| |
| unsafe bool | select (bool on) |
| | selects the object, returns true if value changed, otherwise returns false Generated from method MR.FeatureObject.select.
|
| |
| unsafe void | setAncillary (bool ancillary) |
| | ancillary object is an object hidden (in scene menu) from a regular user such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary Generated from method MR.FeatureObject.setAncillary.
|
| |
| unsafe void | setVisible (bool on, MR.Const_ViewportMask? viewportMask=null) |
| | sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.FeatureObject.setVisible. Parameter viewportMask defaults to ViewportMask.all().
|
| |
| unsafe void | setVisibilityMask (MR.Const_ViewportMask viewportMask) |
| | specifies object visibility as bitmask of viewports Generated from method MR.FeatureObject.setVisibilityMask.
|
| |
| unsafe void | swap (MR.Object other) |
| | swaps this object with other note: do not swap object signals, so listeners will get notifications from swapped object requires implementation of swapBase_ and swapSignals_ (if type has signals) Generated from method MR.FeatureObject.swap.
|
| |
| unsafe bool | addTag (string tag) |
| | adds tag to the object's tag storage additionally calls ObjectTagManager.tagAddedSignal NOTE: tags starting with a dot are considered as service ones and might be hidden from UI Generated from method MR.FeatureObject.addTag.
|
| |
| unsafe bool | removeTag (string tag) |
| | removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.FeatureObject.removeTag.
|
| |
An interface class which allows feature objects to share setters and getters on their main properties, for convenient presentation in the UI Generated from class MR.FeatureObject. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object Derived classes: Direct: (non-virtual) MR.AddVisualProperties<MR.FeatureObject, MR.DimensionsVisualizePropertyType.diameter, MR.DimensionsVisualizePropertyType.angle, MR.DimensionsVisualizePropertyType.length> MR.AddVisualProperties<MR.FeatureObject, MR.DimensionsVisualizePropertyType.diameter, MR.DimensionsVisualizePropertyType.length> MR.AddVisualProperties<MR.FeatureObject, MR.DimensionsVisualizePropertyType.diameter> MR.LineObject MR.PlaneObject MR.PointObject Indirect: (non-virtual) MR.CircleObject MR.ConeObject MR.CylinderObject MR.SphereObject This is the non-const half of the class.