MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ObjectLabel Class Reference

This object type renders label in scene. More...

+ Inheritance diagram for MR.ObjectLabel:

Public Member Functions

unsafe ObjectLabel ()
 Constructs an empty (default-constructed) instance.
 
unsafe ObjectLabel (MR._ByValue_ObjectLabel _other)
 Generated from constructor MR.ObjectLabel.ObjectLabel.
 
unsafe MR.ObjectLabel assign (MR._ByValue_ObjectLabel _other)
 Generated from method MR.ObjectLabel.operator=.
 
unsafe void applyScale (float scaleFactor)
 Generated from method MR.ObjectLabel.applyScale.
 
unsafe void setFontHeight (float size)
 sets size of label font in pixels Generated from method MR.ObjectLabel.setFontHeight.
 
unsafe void setLabel (MR.Const_PositionedText label)
 sets text and position of label Generated from method MR.ObjectLabel.setLabel.
 
unsafe void setFontPath (string pathToFont)
 sets path to font file Generated from method MR.ObjectLabel.setFontPath.
 
unsafe void setPivotPoint (in MR.Vector2f pivotPoint)
 set pivot point
 
unsafe void setLeaderLineWidth (float width)
 sets width of leader line in pixels Generated from method MR.ObjectLabel.setLeaderLineWidth.
 
unsafe void setSourcePointSize (float size)
 sets size of source point in pixels Generated from method MR.ObjectLabel.setSourcePointSize.
 
unsafe void setBackgroundPadding (float padding)
 sets background padding in pixels Generated from method MR.ObjectLabel.setBackgroundPadding.
 
unsafe void setSourcePointColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 sets color of source point Generated from method MR.ObjectLabel.setSourcePointColor. Parameter id defaults to {}.
 
unsafe void setLeaderLineColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 sets color of leader line Generated from method MR.ObjectLabel.setLeaderLineColor. Parameter id defaults to {}.
 
unsafe void setContourColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 sets contour color Generated from method MR.ObjectLabel.setContourColor. Parameter id defaults to {}.
 
unsafe void setSourcePointColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectLabel.setSourcePointColorsForAllViewports.
 
unsafe void setLeaderLineColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectLabel.setLeaderLineColorsForAllViewports.
 
unsafe void setContourColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectLabel.setContourColorsForAllViewports.
 
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.ObjectLabel.setVisualizeProperty.
 
unsafe void setVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 set visual property mask Generated from method MR.ObjectLabel.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.ObjectLabel.toggleVisualizeProperty.
 
unsafe void setAllVisualizeProperties (MR.Std.Const_Vector_MRViewportMask properties)
 set all visualize properties masks Generated from method MR.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.setColoringType.
 
unsafe void setShininess (float shininess)
 sets shininess visual value of the object with given argument Generated from method MR.ObjectLabel.setShininess.
 
unsafe void setSpecularStrength (float specularStrength)
 sets intensity of reflections Generated from method MR.ObjectLabel.setSpecularStrength.
 
unsafe void setAmbientStrength (float ambientStrength)
 sets intensity of non-directional light Generated from method MR.ObjectLabel.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.ObjectLabel.setUseDefaultScenePropertiesOnDeserialization.
 
unsafe void resetFrontColor ()
 reset basic object colors to their default values from the current theme Generated from method MR.ObjectLabel.resetFrontColor.
 
unsafe void resetColors ()
 reset all object colors to their default values from the current theme Generated from method MR.ObjectLabel.resetColors.
 
unsafe void setName (string name)
 Generated from method MR.ObjectLabel.setName.
 
unsafe void setXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectLabel.setXf. Parameter id defaults to {}.
 
unsafe void resetXf (MR._InOpt_ViewportId id=default)
 forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.ObjectLabel.resetXf. Parameter id defaults to {}.
 
unsafe void setXfsForAllViewports (MR._ByValue_ViewportProperty_MRAffineXf3f xf)
 modifies xfs for all viewports at once Generated from method MR.ObjectLabel.setXfsForAllViewports.
 
unsafe void setWorldXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectLabel.setWorldXf. Parameter id defaults to {}.
 
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.ObjectLabel.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe void setLocked (bool on)
 Generated from method MR.ObjectLabel.setLocked.
 
unsafe void setParentLocked (bool lock_)
 Generated from method MR.ObjectLabel.setParentLocked.
 
unsafe bool detachFromParent ()
 removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectLabel.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.ObjectLabel.addChildBefore.
 
unsafe void removeAllChildren ()
 detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectLabel.removeAllChildren.
 
unsafe void sortChildren ()
 sort recognized children by name Generated from method MR.ObjectLabel.sortChildren.
 
unsafe bool select (bool on)
 selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.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.ObjectLabel.addTag.
 
unsafe bool removeTag (string tag)
 removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.ObjectLabel.removeTag.
 

Static Public Member Functions

static unsafe implicit operator MR.ObjectChildrenHolder (ObjectLabel self)
 
static unsafe implicit operator MR.Object (ObjectLabel self)
 
static unsafe implicit operator MR.VisualObject (ObjectLabel self)
 
static unsafe operator ObjectLabel? (MR.Object parent)
 
static unsafe operator ObjectLabel? (MR.VisualObject parent)
 

Detailed Description

This object type renders label in scene.

default pivot point = (0, 0) Generated from class MR.ObjectLabel. Base classes: Direct: (non-virtual) MR.VisualObject Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object This is the non-const half of the class.

Constructor & Destructor Documentation

◆ ObjectLabel() [1/2]

unsafe MR.ObjectLabel.ObjectLabel ( )
inline

Constructs an empty (default-constructed) instance.

◆ ObjectLabel() [2/2]

unsafe MR.ObjectLabel.ObjectLabel ( MR._ByValue_ObjectLabel _other)
inline

Generated from constructor MR.ObjectLabel.ObjectLabel.

Member Function Documentation

◆ addChild()

unsafe bool MR.ObjectLabel.addChild ( MR._ByValueShared_Object child,
bool? recognizedChild = null )
inline

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;

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR.ObjectLabel.addChild. Parameter recognizedChild defaults to true.

◆ addChildBefore()

unsafe bool MR.ObjectLabel.addChildBefore ( MR._ByValueShared_Object newChild,
MR.Const_Object existingChild )
inline

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.ObjectLabel.addChildBefore.

◆ addTag()

unsafe bool MR.ObjectLabel.addTag ( string tag)
inline

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.ObjectLabel.addTag.

◆ applyScale()

unsafe void MR.ObjectLabel.applyScale ( float scaleFactor)
inline

Generated from method MR.ObjectLabel.applyScale.

◆ assign()

unsafe MR.ObjectLabel MR.ObjectLabel.assign ( MR._ByValue_ObjectLabel _other)
inline

Generated from method MR.ObjectLabel.operator=.

◆ copyAllSolidColors()

unsafe void MR.ObjectLabel.copyAllSolidColors ( MR.Const_VisualObject other)
inline

set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.ObjectLabel.copyAllSolidColors.

◆ detachFromParent()

unsafe bool MR.ObjectLabel.detachFromParent ( )
inline

removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectLabel.detachFromParent.

◆ operator MR.Object()

static unsafe implicit MR.ObjectLabel.operator MR.Object ( ObjectLabel self)
inlinestatic

◆ operator MR.ObjectChildrenHolder()

static unsafe implicit MR.ObjectLabel.operator MR.ObjectChildrenHolder ( ObjectLabel self)
inlinestatic

◆ operator MR.VisualObject()

static unsafe implicit MR.ObjectLabel.operator MR.VisualObject ( ObjectLabel self)
inlinestatic

◆ operator ObjectLabel?() [1/2]

static unsafe MR.ObjectLabel.operator ObjectLabel? ( MR.Object parent)
inlineexplicitstatic

◆ operator ObjectLabel?() [2/2]

static unsafe MR.ObjectLabel.operator ObjectLabel? ( MR.VisualObject parent)
inlineexplicitstatic

◆ removeAllChildren()

unsafe void MR.ObjectLabel.removeAllChildren ( )
inline

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectLabel.removeAllChildren.

◆ removeTag()

unsafe bool MR.ObjectLabel.removeTag ( string tag)
inline

removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.ObjectLabel.removeTag.

◆ resetColors()

unsafe void MR.ObjectLabel.resetColors ( )
inline

reset all object colors to their default values from the current theme Generated from method MR.ObjectLabel.resetColors.

◆ resetFrontColor()

unsafe void MR.ObjectLabel.resetFrontColor ( )
inline

reset basic object colors to their default values from the current theme Generated from method MR.ObjectLabel.resetFrontColor.

◆ resetXf()

unsafe void MR.ObjectLabel.resetXf ( MR._InOpt_ViewportId id = default)
inline

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.ObjectLabel.resetXf. Parameter id defaults to {}.

◆ select()

unsafe bool MR.ObjectLabel.select ( bool on)
inline

selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectLabel.select.

◆ setAllVisualizeProperties()

unsafe void MR.ObjectLabel.setAllVisualizeProperties ( MR.Std.Const_Vector_MRViewportMask properties)
inline

set all visualize properties masks Generated from method MR.ObjectLabel.setAllVisualizeProperties.

◆ setAmbientStrength()

unsafe void MR.ObjectLabel.setAmbientStrength ( float ambientStrength)
inline

sets intensity of non-directional light Generated from method MR.ObjectLabel.setAmbientStrength.

◆ setAncillary()

unsafe void MR.ObjectLabel.setAncillary ( bool ancillary)
inline

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.ObjectLabel.setAncillary.

◆ setBackColor()

unsafe void MR.ObjectLabel.setBackColor ( in MR.Color color,
MR._InOpt_ViewportId viewportId = default )
inline

sets backward color of object in given viewport Generated from method MR.ObjectLabel.setBackColor. Parameter viewportId defaults to {}.

◆ setBackColorsForAllViewports()

unsafe void MR.ObjectLabel.setBackColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

sets backward color of object in all viewports Generated from method MR.ObjectLabel.setBackColorsForAllViewports.

◆ setBackgroundPadding()

unsafe void MR.ObjectLabel.setBackgroundPadding ( float padding)
inline

sets background padding in pixels Generated from method MR.ObjectLabel.setBackgroundPadding.

◆ setColoringType()

unsafe void MR.ObjectLabel.setColoringType ( MR.ColoringType coloringType)
inline

sets coloring mode of the object with given argument Generated from method MR.ObjectLabel.setColoringType.

◆ setContourColor()

unsafe void MR.ObjectLabel.setContourColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

sets contour color Generated from method MR.ObjectLabel.setContourColor. Parameter id defaults to {}.

◆ setContourColorsForAllViewports()

unsafe void MR.ObjectLabel.setContourColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setDirtyFlags()

unsafe void MR.ObjectLabel.setDirtyFlags ( uint mask,
bool? invalidateCaches = null )
inline

sets some dirty flags for the object (to force its visual update)

Parameters
maskis a union of DirtyFlags flags
invalidateCacheswhether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR.ObjectLabel.setDirtyFlags. Parameter invalidateCaches defaults to true.

◆ setFontHeight()

unsafe void MR.ObjectLabel.setFontHeight ( float size)
inline

sets size of label font in pixels Generated from method MR.ObjectLabel.setFontHeight.

◆ setFontPath()

unsafe void MR.ObjectLabel.setFontPath ( string pathToFont)
inline

sets path to font file Generated from method MR.ObjectLabel.setFontPath.

◆ setFrontColor()

unsafe void MR.ObjectLabel.setFrontColor ( in MR.Color color,
bool selected,
MR._InOpt_ViewportId viewportId = default )
inline

sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectLabel.setFrontColor. Parameter viewportId defaults to {}.

◆ setFrontColorsForAllViewports()

unsafe void MR.ObjectLabel.setFrontColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val,
bool? selected = null )
inline

sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectLabel.setFrontColorsForAllViewports. Parameter selected defaults to true.

◆ setGlobalAlpha()

unsafe void MR.ObjectLabel.setGlobalAlpha ( byte alpha,
MR._InOpt_ViewportId viewportId = default )
inline

sets global transparency alpha of object in given viewport Generated from method MR.ObjectLabel.setGlobalAlpha. Parameter viewportId defaults to {}.

◆ setGlobalAlphaForAllViewports()

unsafe void MR.ObjectLabel.setGlobalAlphaForAllViewports ( MR._ByValue_ViewportProperty_UnsignedChar val)
inline

sets global transparency alpha of object in all viewports Generated from method MR.ObjectLabel.setGlobalAlphaForAllViewports.

◆ setGlobalClippedByPlane()

unsafe void MR.ObjectLabel.setGlobalClippedByPlane ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

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.ObjectLabel.setGlobalClippedByPlane. Parameter viewportMask defaults to ViewportMask.all().

◆ setGlobalVisibility()

unsafe void MR.ObjectLabel.setGlobalVisibility ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.ObjectLabel.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().

◆ setLabel()

unsafe void MR.ObjectLabel.setLabel ( MR.Const_PositionedText label)
inline

sets text and position of label Generated from method MR.ObjectLabel.setLabel.

◆ setLeaderLineColor()

unsafe void MR.ObjectLabel.setLeaderLineColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

sets color of leader line Generated from method MR.ObjectLabel.setLeaderLineColor. Parameter id defaults to {}.

◆ setLeaderLineColorsForAllViewports()

unsafe void MR.ObjectLabel.setLeaderLineColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setLeaderLineWidth()

unsafe void MR.ObjectLabel.setLeaderLineWidth ( float width)
inline

sets width of leader line in pixels Generated from method MR.ObjectLabel.setLeaderLineWidth.

◆ setLocked()

unsafe void MR.ObjectLabel.setLocked ( bool on)
inline

Generated from method MR.ObjectLabel.setLocked.

◆ setName()

unsafe void MR.ObjectLabel.setName ( string name)
inline

Generated from method MR.ObjectLabel.setName.

◆ setParentLocked()

unsafe void MR.ObjectLabel.setParentLocked ( bool lock_)
inline

Generated from method MR.ObjectLabel.setParentLocked.

◆ setPickable()

unsafe void MR.ObjectLabel.setPickable ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.ObjectLabel.setPickable. Parameter viewportMask defaults to ViewportMask.all().

◆ setPivotPoint()

unsafe void MR.ObjectLabel.setPivotPoint ( in MR.Vector2f pivotPoint)
inline

set pivot point

Parameters
pivotPoint- text location parameter of relative to text position point [0, 0] - text position point is left-down corner of text [1, 1] - text position point is right-up corner can be outside range [0, 0] - [1, 1] Generated from method MR.ObjectLabel.setPivotPoint.

◆ setShininess()

unsafe void MR.ObjectLabel.setShininess ( float shininess)
inline

sets shininess visual value of the object with given argument Generated from method MR.ObjectLabel.setShininess.

◆ setSourcePointColor()

unsafe void MR.ObjectLabel.setSourcePointColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

sets color of source point Generated from method MR.ObjectLabel.setSourcePointColor. Parameter id defaults to {}.

◆ setSourcePointColorsForAllViewports()

unsafe void MR.ObjectLabel.setSourcePointColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setSourcePointSize()

unsafe void MR.ObjectLabel.setSourcePointSize ( float size)
inline

sets size of source point in pixels Generated from method MR.ObjectLabel.setSourcePointSize.

◆ setSpecularStrength()

unsafe void MR.ObjectLabel.setSpecularStrength ( float specularStrength)
inline

sets intensity of reflections Generated from method MR.ObjectLabel.setSpecularStrength.

◆ setUseDefaultScenePropertiesOnDeserialization()

unsafe void MR.ObjectLabel.setUseDefaultScenePropertiesOnDeserialization ( bool useDefaultScenePropertiesOnDeserialization)
inline

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.ObjectLabel.setUseDefaultScenePropertiesOnDeserialization.

◆ setVisibilityMask()

unsafe void MR.ObjectLabel.setVisibilityMask ( MR.Const_ViewportMask viewportMask)
inline

specifies object visibility as bitmask of viewports Generated from method MR.ObjectLabel.setVisibilityMask.

◆ setVisible()

unsafe void MR.ObjectLabel.setVisible ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.ObjectLabel.setVisible. Parameter viewportMask defaults to ViewportMask.all().

◆ setVisualizeProperty()

unsafe void MR.ObjectLabel.setVisualizeProperty ( bool value,
MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

set visual property in all viewports specified by the mask Generated from method MR.ObjectLabel.setVisualizeProperty.

◆ setVisualizePropertyMask()

unsafe void MR.ObjectLabel.setVisualizePropertyMask ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

set visual property mask Generated from method MR.ObjectLabel.setVisualizePropertyMask.

◆ setWorldXf()

unsafe void MR.ObjectLabel.setWorldXf ( in MR.AffineXf3f xf,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectLabel.setWorldXf. Parameter id defaults to {}.

◆ setXf()

unsafe void MR.ObjectLabel.setXf ( in MR.AffineXf3f xf,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectLabel.setXf. Parameter id defaults to {}.

◆ setXfsForAllViewports()

unsafe void MR.ObjectLabel.setXfsForAllViewports ( MR._ByValue_ViewportProperty_MRAffineXf3f xf)
inline

modifies xfs for all viewports at once Generated from method MR.ObjectLabel.setXfsForAllViewports.

◆ sortChildren()

unsafe void MR.ObjectLabel.sortChildren ( )
inline

sort recognized children by name Generated from method MR.ObjectLabel.sortChildren.

◆ swap()

unsafe void MR.ObjectLabel.swap ( MR.Object other)
inline

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.ObjectLabel.swap.

◆ toggleVisualizeProperty()

unsafe void MR.ObjectLabel.toggleVisualizeProperty ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

toggle visual property in all viewports specified by the mask Generated from method MR.ObjectLabel.toggleVisualizeProperty.


The documentation for this class was generated from the following file: