Class MeshPart
Represents the graphical representation of a Part.
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public sealed class MeshPart : MeshBase
Constructors
View Source
MeshPart()
Declaration
View Source
MeshPart(IEnumerable<MeshBody>)
Creates a MeshPart that contains MeshBody objects from the specified collection.
Declaration
public MeshPart(IEnumerable<MeshBody> bodies)
Parameters
Properties
View Source
Bodies
Declaration
public List<MeshBody> Bodies { get; }
Property Value
Methods
View Source
Clone()
Declaration
Returns
View Source
GetAllFaces()
Declaration
public IEnumerable<MeshFace> GetAllFaces()
Returns
View Source
GetBoundingBox()
Declaration
public BoundingBox GetBoundingBox()
Returns
View Source
Optimize(OptimizeMeshParameters, ProgressNotification)
Merges faces and vertices to improve memory usage and rendering performance.
Declaration
public void Optimize(OptimizeMeshParameters parameters, ProgressNotification progress)
Parameters
View Source
SetMaterial(Material)
Declaration
public void SetMaterial(Material material)
Parameters
View Source
Transforms all vertices and normals in the MeshPart.
Declaration
public void Transform(Matrix4 matrix)
Parameters
| Type |
Name |
Description |
| Matrix4 |
matrix |
|
View Source
Transforms all vertices and normals in the MeshPart.
Declaration
public void Transform(Matrix4 matrix, ProgressNotification progress)
Parameters
View Source
TraverseFaces(Action<MeshFace>)
Declaration
public void TraverseFaces(Action<MeshFace> action)
Parameters