|
| unsafe | ObjectMesh () |
| | Constructs an empty (default-constructed) instance.
|
| unsafe | ObjectMesh (MR._ByValue_ObjectMesh _other) |
| | Generated from constructor MR.ObjectMesh.ObjectMesh.
|
| unsafe MR.ObjectMesh | assign (MR._ByValue_ObjectMesh _other) |
| | Generated from method MR::ObjectMesh::operator=.
|
| unsafe MR.Std.Const_SharedPtr_MRMesh | varMesh () |
| | returns variable mesh, if const mesh is needed use mesh() instead Generated from method MR.ObjectMesh.varMesh.
|
| unsafe void | setMesh (MR.Std._ByValue_SharedPtr_MRMesh mesh) |
| | sets given mesh to this, resets selection and creases Generated from method MR.ObjectMesh.setMesh.
|
| unsafe MR.Std.SharedPtr_MRMesh | updateMesh (MR.Std._ByValue_SharedPtr_MRMesh mesh) |
| | sets given mesh to this, and returns back previous mesh of this; does not touch selection or creases Generated from method MR.ObjectMesh.updateMesh.
|
| unsafe void | applyScale (float scaleFactor) |
| | Generated from method MR.ObjectMesh.applyScale.
|
| unsafe void | setDirtyFlags (uint mask, bool? invalidateCaches=null) |
| | Generated from method MR.ObjectMesh.setDirtyFlags. Parameter invalidateCaches defaults to true.
|
| unsafe void | setDirtyFlagsFast (uint mask) |
| | this is a faster version of setDirtyFlags(), which does not invalidate metrics cache (area, volume, ...); the user is responsible for calling invalidateMetricsCache( mask ) or setDirtyFlags( mask ) at the end of mesh editing; DANGER: all cached values returned until then can be outdated Generated from method MR.ObjectMesh.setDirtyFlagsFast.
|
| unsafe void | invalidateMetricsCache (uint mask) |
| | invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR.ObjectMesh.invalidateMetricsCache.
|
| unsafe void | selectFaces (MR._ByValue_FaceBitSet newSelection) |
| | Generated from method MR.ObjectMesh.selectFaces.
|
| unsafe void | setSelectedFacesColor (in MR.Color color, MR._InOpt_ViewportId id=default) |
| | sets colors of selected triangles Generated from method MR.ObjectMesh.setSelectedFacesColor. Parameter id defaults to {}.
|
| unsafe void | selectEdges (MR._ByValue_UndirectedEdgeBitSet newSelection) |
| | Generated from method MR.ObjectMesh.selectEdges.
|
| unsafe void | setSelectedEdgesColor (in MR.Color color, MR._InOpt_ViewportId id=default) |
| | sets colors of selected edges Generated from method MR.ObjectMesh.setSelectedEdgesColor. Parameter id defaults to {}.
|
| unsafe void | setSelectedEdgesColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val) |
| | Generated from method MR.ObjectMesh.setSelectedEdgesColorsForAllViewports.
|
| unsafe void | setSelectedFacesColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val) |
| | Generated from method MR.ObjectMesh.setSelectedFacesColorsForAllViewports.
|
| unsafe void | setEdgesColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val) |
| | Generated from method MR.ObjectMesh.setEdgesColorsForAllViewports.
|
| unsafe void | setPointsColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val) |
| | Generated from method MR.ObjectMesh.setPointsColorsForAllViewports.
|
| unsafe void | setBordersColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val) |
| | Generated from method MR.ObjectMesh.setBordersColorsForAllViewports.
|
| unsafe void | copyAllSolidColors (MR.Const_ObjectMeshHolder other) |
| | set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.ObjectMesh.copyAllSolidColors.
|
| unsafe void | setCreases (MR._ByValue_UndirectedEdgeBitSet creases) |
| | Generated from method MR.ObjectMesh.setCreases.
|
| unsafe void | setFlatShading (bool on) |
| | sets flat (true) or smooth (false) shading Generated from method MR.ObjectMesh.setFlatShading.
|
| unsafe void | setData (MR.Misc._Moved< MR.ObjectMeshData > data) |
| | sets whole new ObjectMeshData Generated from method MR.ObjectMesh.setData.
|
| unsafe void | updateData (MR.ObjectMeshData data) |
| | swaps whole ObjectMeshData with given argument Generated from method MR.ObjectMesh.updateData.
|
| unsafe void | setVertsColorMap (MR._ByValue_VertColors vertsColorMap) |
| | sets per-vertex colors of the object Generated from method MR.ObjectMesh.setVertsColorMap.
|
| unsafe void | updateVertsColorMap (MR.VertColors vertsColorMap) |
| | swaps per-vertex colors of the object with given argument Generated from method MR.ObjectMesh.updateVertsColorMap.
|
| unsafe void | setFacesColorMap (MR._ByValue_FaceColors facesColorMap) |
| | Generated from method MR.ObjectMesh.setFacesColorMap.
|
| unsafe void | updateFacesColorMap (MR.FaceColors updated) |
| | Generated from method MR.ObjectMesh.updateFacesColorMap.
|
| unsafe void | setEdgeWidth (float edgeWidth) |
| | Generated from method MR.ObjectMesh.setEdgeWidth.
|
| unsafe void | setPointSize (float size) |
| | Generated from method MR.ObjectMesh.setPointSize.
|
| unsafe void | setEdgesColor (in MR.Color color, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.setEdgesColor. Parameter id defaults to {}.
|
| unsafe void | setPointsColor (in MR.Color color, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.setPointsColor. Parameter id defaults to {}.
|
| unsafe void | setBordersColor (in MR.Color color, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.setBordersColor. Parameter id defaults to {}.
|
| unsafe void | setTextures (MR._ByValue_Vector_MRMeshTexture_MRTextureId texture) |
| | Generated from method MR.ObjectMesh.setTextures.
|
| unsafe void | updateTextures (MR.Vector_MRMeshTexture_MRTextureId updated) |
| | Generated from method MR.ObjectMesh.updateTextures.
|
| unsafe void | setTexturePerFace (MR._ByValue_TexturePerFace texturePerFace) |
| | the texture ids for the faces if more than one texture is used to texture the object texture coordinates (data_.uvCoordinates) at a point can belong to different textures, depending on which face the point belongs to Generated from method MR.ObjectMesh.setTexturePerFace.
|
| unsafe void | updateTexturePerFace (MR.TexturePerFace texturePerFace) |
| | Generated from method MR.ObjectMesh.updateTexturePerFace.
|
| unsafe void | addTexture (MR._ByValue_MeshTexture texture) |
| | Generated from method MR.ObjectMesh.addTexture.
|
| unsafe void | setUVCoords (MR._ByValue_VertCoords2 uvCoordinates) |
| | Generated from method MR.ObjectMesh.setUVCoords.
|
| unsafe void | updateUVCoords (MR.VertCoords2 updated) |
| | Generated from method MR.ObjectMesh.updateUVCoords.
|
| unsafe void | copyTextureAndColors (MR.Const_ObjectMeshHolder src, MR.Const_VertMap thisToSrc, MR.Const_FaceMap? thisToSrcFaces=null) |
| | copies texture, UV-coordinates and vertex colors from given source object
|
| unsafe void | copyColors (MR.Const_ObjectMeshHolder src, MR.Const_VertMap thisToSrc, MR.Const_FaceMap? thisToSrcFaces=null) |
| | copies vertex colors from given source object
|
| unsafe void | setAncillaryTexture (MR._ByValue_MeshTexture texture) |
| | Generated from method MR.ObjectMesh.setAncillaryTexture.
|
| unsafe void | setAncillaryUVCoords (MR._ByValue_VertCoords2 uvCoordinates) |
| | Generated from method MR.ObjectMesh.setAncillaryUVCoords.
|
| unsafe void | updateAncillaryUVCoords (MR.VertCoords2 updated) |
| | Generated from method MR.ObjectMesh.updateAncillaryUVCoords.
|
| unsafe void | clearAncillaryTexture () |
| | Generated from method MR.ObjectMesh.clearAncillaryTexture.
|
| unsafe void | setSerializeFormat (byte? newFormat) |
| | overrides file extension used to serialize mesh inside this object: must start from '.', nullptr means serialize in defaultSerializeMeshFormat() Generated from method MR.ObjectMesh.setSerializeFormat.
|
| unsafe void | resetFrontColor () |
| | reset basic object colors to their default values from the current theme Generated from method MR.ObjectMesh.resetFrontColor.
|
| unsafe void | resetColors () |
| | reset all object colors to their default values from the current theme Generated from method MR.ObjectMesh.resetColors.
|
| 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.ObjectMesh.setVisualizeProperty.
|
| unsafe void | setVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask) |
| | set visual property mask Generated from method MR.ObjectMesh.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.ObjectMesh.toggleVisualizeProperty.
|
| unsafe void | setAllVisualizeProperties (MR.Std.Const_Vector_MRViewportMask properties) |
| | set all visualize properties masks Generated from method MR.ObjectMesh.setAllVisualizeProperties.
|
| 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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.setGlobalAlphaForAllViewports.
|
| 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.ObjectMesh.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.ObjectMesh.setColoringType.
|
| unsafe void | setShininess (float shininess) |
| | sets shininess visual value of the object with given argument Generated from method MR.ObjectMesh.setShininess.
|
| unsafe void | setSpecularStrength (float specularStrength) |
| | sets intensity of reflections Generated from method MR.ObjectMesh.setSpecularStrength.
|
| unsafe void | setAmbientStrength (float ambientStrength) |
| | sets intensity of non-directional light Generated from method MR.ObjectMesh.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.ObjectMesh.setUseDefaultScenePropertiesOnDeserialization.
|
| unsafe void | setName (string name) |
| | Generated from method MR.ObjectMesh.setName.
|
| unsafe void | setXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.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.ObjectMesh.resetXf. Parameter id defaults to {}.
|
| unsafe void | setXfsForAllViewports (MR._ByValue_ViewportProperty_MRAffineXf3f xf) |
| | modifies xfs for all viewports at once Generated from method MR.ObjectMesh.setXfsForAllViewports.
|
| unsafe void | setWorldXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.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.ObjectMesh.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().
|
| unsafe void | setLocked (bool on) |
| | Generated from method MR.ObjectMesh.setLocked.
|
| unsafe void | setParentLocked (bool lock_) |
| | Generated from method MR.ObjectMesh.setParentLocked.
|
| unsafe bool | detachFromParent () |
| | removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectMesh.detachFromParent.
|
| unsafe bool | addChild (MR.Std._ByValue_SharedPtr_MRObject 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.Std._ByValue_SharedPtr_MRObject newChild, MR.Std.Const_SharedPtr_MRObject 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.ObjectMesh.addChildBefore.
|
| unsafe void | removeAllChildren () |
| | detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectMesh.removeAllChildren.
|
| unsafe void | sortChildren () |
| | sort recognized children by name Generated from method MR.ObjectMesh.sortChildren.
|
| unsafe bool | select (bool on) |
| | selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.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.ObjectMesh.addTag.
|
| unsafe bool | removeTag (string tag) |
| | removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR.ObjectMesh.removeTag.
|
| virtual void | Dispose () |
| unsafe | Const_ObjectMesh () |
| | Constructs an empty (default-constructed) instance.
|
| unsafe | Const_ObjectMesh (MR._ByValue_ObjectMesh _other) |
| | Generated from constructor MR.ObjectMesh.ObjectMesh.
|
| unsafe? byte | typeName () |
| | Generated from method MR.ObjectMesh.typeName.
|
| unsafe MR.Std.String | className () |
| | Generated from method MR.ObjectMesh.className.
|
| unsafe MR.Std.String | classNameInPlural () |
| | Generated from method MR.ObjectMesh.classNameInPlural.
|
| unsafe MR.Std.Vector_StdString | getInfoLines () |
| | Generated from method MR.ObjectMesh.getInfoLines.
|
| unsafe MR.Std.SharedPtr_MRObject | clone () |
| | Generated from method MR.ObjectMesh.clone.
|
| unsafe MR.Std.SharedPtr_MRObject | shallowClone () |
| | Generated from method MR.ObjectMesh.shallowClone.
|
| unsafe MR.MeshIntersectionResult | worldRayIntersection (MR.Const_Line3f worldRay, MR.Const_FaceBitSet? region=null) |
| | given ray in world coordinates, e.g. obtained from Viewport::unprojectPixelRay; finds its intersection with the mesh of this object considering its transformation relative to the world; it is inefficient to call this function for many rays, because it computes world-to-local xf every time Generated from method MR.ObjectMesh.worldRayIntersection.
|
| unsafe bool | hasVisualRepresentation () |
| | mesh object can be seen if the mesh has at least one edge Generated from method MR.ObjectMesh.hasVisualRepresentation.
|
| unsafe bool | hasModel () |
| | Generated from method MR.ObjectMesh.hasModel.
|
| unsafe MR.Std.Const_SharedPtr_ConstMRMesh | mesh () |
| | Generated from method MR.ObjectMesh.mesh.
|
| unsafe MR.MeshPart | meshPart () |
| unsafe MR.Const_FaceBitSet | getSelectedFaces () |
| | Generated from method MR.ObjectMesh.getSelectedFaces.
|
| unsafe ref readonly MR.Color | getSelectedFacesColor (MR._InOpt_ViewportId id=default) |
| | returns colors of selected triangles Generated from method MR.ObjectMesh.getSelectedFacesColor. Parameter id defaults to {}.
|
| unsafe MR.Const_UndirectedEdgeBitSet | getSelectedEdges () |
| | Generated from method MR.ObjectMesh.getSelectedEdges.
|
| unsafe ref readonly MR.Color | getSelectedEdgesColor (MR._InOpt_ViewportId id=default) |
| | returns colors of selected edges Generated from method MR.ObjectMesh.getSelectedEdgesColor. Parameter id defaults to {}.
|
| unsafe MR.Const_ViewportProperty_MRColor | getSelectedEdgesColorsForAllViewports () |
| | Generated from method MR.ObjectMesh.getSelectedEdgesColorsForAllViewports.
|
| unsafe MR.Const_ViewportProperty_MRColor | getSelectedFacesColorsForAllViewports () |
| | Generated from method MR.ObjectMesh.getSelectedFacesColorsForAllViewports.
|
| unsafe MR.Const_ViewportProperty_MRColor | getEdgesColorsForAllViewports () |
| | Generated from method MR.ObjectMesh.getEdgesColorsForAllViewports.
|
| unsafe MR.Const_ViewportProperty_MRColor | getPointsColorsForAllViewports () |
| | Generated from method MR.ObjectMesh.getPointsColorsForAllViewports.
|
| unsafe MR.Const_ViewportProperty_MRColor | getBordersColorsForAllViewports () |
| | Generated from method MR.ObjectMesh.getBordersColorsForAllViewports.
|
| unsafe MR.Const_UndirectedEdgeBitSet | creases () |
| | Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR.ObjectMesh.creases.
|
| unsafe bool | flatShading () |
| | Generated from method MR.ObjectMesh.flatShading.
|
| unsafe bool | supportsVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type) |
| | Generated from method MR.ObjectMesh.supportsVisualizeProperty.
|
| unsafe MR.Std.Vector_MRViewportMask | getAllVisualizeProperties () |
| | get all visualize properties masks Generated from method MR.ObjectMesh.getAllVisualizeProperties.
|
| unsafe MR.Const_ViewportMask | getVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type) |
| | returns mask of viewports where given property is set Generated from method MR.ObjectMesh.getVisualizePropertyMask.
|
| unsafe MR.Const_ObjectMeshData | data () |
| | provides read-only access to whole ObjectMeshData Generated from method MR.ObjectMesh.data.
|
| unsafe MR.Const_VertColors | getVertsColorMap () |
| | returns per-vertex colors of the object Generated from method MR.ObjectMesh.getVertsColorMap.
|
| unsafe MR.Const_FaceColors | getFacesColorMap () |
| | Generated from method MR.ObjectMesh.getFacesColorMap.
|
| unsafe float | getEdgeWidth () |
| | Generated from method MR.ObjectMesh.getEdgeWidth.
|
| unsafe float | getPointSize () |
| | Generated from method MR.ObjectMesh.getPointSize.
|
| unsafe ref readonly MR.Color | getEdgesColor (MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.getEdgesColor. Parameter id defaults to {}.
|
| unsafe ref readonly MR.Color | getPointsColor (MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.getPointsColor. Parameter id defaults to {}.
|
| unsafe ref readonly MR.Color | getBordersColor (MR._InOpt_ViewportId id=default) |
| | Generated from method MR.ObjectMesh.getBordersColor. Parameter id defaults to {}.
|
| unsafe MR.Const_MeshTexture | getTexture () |
| | returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR.ObjectMesh.getTexture.
|
| unsafe MR.Const_Vector_MRMeshTexture_MRTextureId | getTextures () |
| | Generated from method MR.ObjectMesh.getTextures.
|
| unsafe MR.Const_TexturePerFace | getTexturePerFace () |
| | Generated from method MR.ObjectMesh.getTexturePerFace.
|
| unsafe MR.Const_VertCoords2 | getUVCoords () |
| | Generated from method MR.ObjectMesh.getUVCoords.
|
| unsafe MR.Const_MeshTexture | getAncillaryTexture () |
| | Generated from method MR.ObjectMesh.getAncillaryTexture.
|
| unsafe MR.Const_VertCoords2 | getAncillaryUVCoords () |
| | Generated from method MR.ObjectMesh.getAncillaryUVCoords.
|
| unsafe bool | hasAncillaryTexture () |
| | Generated from method MR.ObjectMesh.hasAncillaryTexture.
|
| unsafe bool | getRedrawFlag (MR.Const_ViewportMask viewportMask) |
| | Generated from method MR.ObjectMesh.getRedrawFlag.
|
| unsafe bool | isMeshClosed () |
| | returns cached information whether the mesh is closed Generated from method MR.ObjectMesh.isMeshClosed.
|
| unsafe MR.Box3f | getWorldBox (MR._InOpt_ViewportId _1=default) |
| | returns cached bounding box of this mesh object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR.ObjectMesh.getWorldBox. Parameter _1 defaults to {}.
|
| unsafe ulong | numSelectedFaces () |
| | returns cached information about the number of selected faces in the mesh Generated from method MR.ObjectMesh.numSelectedFaces.
|
| unsafe ulong | numSelectedEdges () |
| | returns cached information about the number of selected undirected edges in the mesh Generated from method MR.ObjectMesh.numSelectedEdges.
|
| unsafe ulong | numCreaseEdges () |
| | returns cached information about the number of crease undirected edges in the mesh Generated from method MR.ObjectMesh.numCreaseEdges.
|
| unsafe double | totalArea () |
| | returns cached summed area of mesh triangles Generated from method MR.ObjectMesh.totalArea.
|
| unsafe double | selectedArea () |
| | returns cached area of selected triangles Generated from method MR.ObjectMesh.selectedArea.
|
| unsafe double | volume () |
| | returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR.ObjectMesh.volume.
|
| unsafe float | avgEdgeLen () |
| | returns cached average edge length Generated from method MR.ObjectMesh.avgEdgeLen.
|
| unsafe ulong | numUndirectedEdges () |
| | returns cached information about the number of undirected edges in the mesh Generated from method MR.ObjectMesh.numUndirectedEdges.
|
| unsafe ulong | numHoles () |
| | returns cached information about the number of holes in the mesh Generated from method MR.ObjectMesh.numHoles.
|
| unsafe ulong | numComponents () |
| | returns cached information about the number of components in the mesh Generated from method MR.ObjectMesh.numComponents.
|
| unsafe ulong | numHandles () |
| | returns cached information about the number of handles in the mesh Generated from method MR.ObjectMesh.numHandles.
|
| unsafe ulong | heapBytes () |
| | returns the amount of memory this object occupies on heap Generated from method MR.ObjectMesh.heapBytes.
|
| unsafe? byte | serializeFormat () |
| | returns overriden file extension used to serialize mesh inside this object, nullptr means defaultSerializeMeshFormat() Generated from method MR.ObjectMesh.serializeFormat.
|
| unsafe? byte | actualSerializeFormat () |
| | returns overriden file extension used to serialize mesh inside this object if set, or defaultSerializeMeshFormat().c_str() otherwise; never returns nullptr Generated from method MR.ObjectMesh.actualSerializeFormat.
|
| unsafe ulong | getModelHash () |
| | Generated from method MR.ObjectMesh.getModelHash.
|
| unsafe bool | sameModels (MR.Const_Object other) |
| | Generated from method MR.ObjectMesh.sameModels.
|
| unsafe bool | getVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask) |
| | returns true if the property is set at least in one viewport specified by the mask Generated from method MR.ObjectMesh.getVisualizeProperty.
|
| unsafe MR.ViewportMask | globalClippedByPlaneMask () |
| | returns all viewports where this object or any of its parents is clipped by plane Generated from method MR.ObjectMesh.globalClippedByPlaneMask.
|
| unsafe bool | globalClippedByPlane (MR.Const_ViewportMask? viewportMask=null) |
| | returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR.ObjectMesh.globalClippedByPlane. Parameter viewportMask defaults to ViewportMask.any().
|
| unsafe ref readonly MR.Color | getFrontColor (bool? selected=null, MR._InOpt_ViewportId viewportId=default) |
| | returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectMesh.getFrontColor. Parameter selected defaults to true. Parameter viewportId defaults to {}.
|
| unsafe MR.Const_ViewportProperty_MRColor | getFrontColorsForAllViewports (bool? selected=null) |
| | returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectMesh.getFrontColorsForAllViewports. Parameter selected defaults to true.
|
| unsafe MR.Const_ViewportProperty_MRColor | getBackColorsForAllViewports () |
| | returns backward color of object in all viewports Generated from method MR.ObjectMesh.getBackColorsForAllViewports.
|
| unsafe ref readonly MR.Color | getBackColor (MR._InOpt_ViewportId viewportId=default) |
| | returns backward color of object in given viewport Generated from method MR.ObjectMesh.getBackColor. Parameter viewportId defaults to {}.
|
| unsafe byte | getGlobalAlpha (MR._InOpt_ViewportId viewportId=default) |
| | returns global transparency alpha of object in given viewport Generated from method MR.ObjectMesh.getGlobalAlpha. Parameter viewportId defaults to {}.
|
| unsafe MR.Const_ViewportProperty_UnsignedChar | getGlobalAlphaForAllViewports () |
| | returns global transparency alpha of object in all viewports Generated from method MR.ObjectMesh.getGlobalAlphaForAllViewports.
|
| unsafe uint | getDirtyFlags () |
| | returns current dirty flags for the object Generated from method MR.ObjectMesh.getDirtyFlags.
|
| unsafe void | resetDirty () |
| | resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR.ObjectMesh.resetDirty.
|
| unsafe void | resetDirtyExceptMask (uint mask) |
| | reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR.ObjectMesh.resetDirtyExceptMask.
|
| unsafe MR.Box3f | getBoundingBox () |
| | returns cached bounding box of this object in local coordinates Generated from method MR.ObjectMesh.getBoundingBox.
|
| unsafe bool | isPickable (MR.Const_ViewportMask? viewportMask=null) |
| | whether the object can be picked (by mouse) in any of given viewports Generated from method MR.ObjectMesh.isPickable. Parameter viewportMask defaults to ViewportMask.any().
|
| unsafe MR.ColoringType | getColoringType () |
| | returns the current coloring mode of the object Generated from method MR.ObjectMesh.getColoringType.
|
| unsafe float | getShininess () |
| | returns the current shininess visual value Generated from method MR.ObjectMesh.getShininess.
|
| unsafe float | getSpecularStrength () |
| | returns intensity of reflections Generated from method MR.ObjectMesh.getSpecularStrength.
|
| unsafe float | getAmbientStrength () |
| | returns intensity of non-directional light Generated from method MR.ObjectMesh.getAmbientStrength.
|
| unsafe bool | render (MR.Const_ModelRenderParams _1) |
| | draws this object for visualization Returns true if something was drawn. Generated from method MR.ObjectMesh.render.
|
| unsafe void | renderForPicker (MR.Const_ModelBaseRenderParams _1, uint _2) |
| | draws this object for picking Generated from method MR.ObjectMesh.renderForPicker.
|
| unsafe void | renderUi (MR.Const_UiRenderParams params_) |
| | draws this object for 2d UI Generated from method MR.ObjectMesh.renderUi.
|
| unsafe bool | useDefaultScenePropertiesOnDeserialization () |
| | 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.ObjectMesh.useDefaultScenePropertiesOnDeserialization.
|
| unsafe MR.Std.Const_String | name () |
| | Generated from method MR.ObjectMesh.name.
|
| unsafe ref readonly MR.AffineXf3f | xf (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null) |
| | this space to parent space transformation (to world space if no parent) for default or given viewport
|
| unsafe MR.Const_ViewportProperty_MRAffineXf3f | xfsForAllViewports () |
| | returns xfs for all viewports, combined into a single object Generated from method MR.ObjectMesh.xfsForAllViewports.
|
| unsafe MR.AffineXf3f | worldXf (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null) |
| | this space to world space transformation for default or specific viewport
|
| unsafe MR.ViewportMask | globalVisibilityMask () |
| | returns all viewports where this object is visible together with all its parents Generated from method MR.ObjectMesh.globalVisibilityMask.
|
| unsafe bool | globalVisibility (MR.Const_ViewportMask? viewportMask=null) |
| | returns true if this object is visible together with all its parents in any of given viewports Generated from method MR.ObjectMesh.globalVisibility. Parameter viewportMask defaults to ViewportMask.any().
|
| unsafe bool | isLocked () |
| | object properties lock for UI Generated from method MR.ObjectMesh.isLocked.
|
| unsafe bool | isParentLocked () |
| | If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. Defaults to false. Generated from method MR.ObjectMesh.isParentLocked.
|
| unsafe bool | isAncestor (MR.Const_Object? ancestor) |
| | return true if given object is ancestor of this one, false otherwise Generated from method MR.ObjectMesh.isAncestor.
|
| unsafe bool | isSelected () |
| | Generated from method MR.ObjectMesh.isSelected.
|
| unsafe bool | isAncillary () |
| | Generated from method MR.ObjectMesh.isAncillary.
|
| unsafe bool | isGlobalAncillary () |
| | returns true if the object or any of its ancestors are ancillary Generated from method MR.ObjectMesh.isGlobalAncillary.
|
| unsafe bool | isVisible (MR.Const_ViewportMask? viewportMask=null) |
| | checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR.ObjectMesh.isVisible. Parameter viewportMask defaults to ViewportMask.any().
|
| unsafe MR.ViewportMask | visibilityMask () |
| | gets object visibility as bitmask of viewports Generated from method MR.ObjectMesh.visibilityMask.
|
| unsafe void | resetRedrawFlag () |
| | Generated from method MR.ObjectMesh.resetRedrawFlag.
|
| unsafe MR.Std.SharedPtr_MRObject | cloneTree () |
| | clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.ObjectMesh.cloneTree.
|
| unsafe MR.Std.SharedPtr_MRObject | shallowCloneTree () |
| | clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR.ObjectMesh.shallowCloneTree.
|
| unsafe MR.Box3f | getWorldTreeBox (MR._InOpt_ViewportId _1=default) |
| | empty box returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR.ObjectMesh.getWorldTreeBox. Parameter _1 defaults to {}.
|
| unsafe MR.Std.Const_Set_StdString | tags () |
| | provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR.ObjectMesh.tags.
|
| unsafe MR.Std.SharedPtr_MRObject | getSharedPtr () |
| | Generated from method MR.ObjectMesh.getSharedPtr.
|