Mesh |
The MeshInspectorOverlay type exposes the following members.
Name | Description | |
---|---|---|
AutoUpdateWhenCameraIsChanged | Gets or sets a Boolean that specifies if MeshInspectorOverlay automatically calls Update method when the Camera is changed. Default values is true. | |
Camera | Gets or sets a Ab3d.PowerToys's BaseCamera that is used to show the 3D scene. When the AutoUpdateWhenCameraIsChanged is true, the MeshInspectorOverlay will subscribe to camera's changes and automatically call Update method when the camera is changed. | |
CombinePositionIndexes | CombinePositionIndexes defines when the strings of position indexes are combined into one string with comma separated index values. | |
EndTriangleIndicesIndex | End index of the TriangleIndices collection where the MeshInspectorOverlay ends to display positions and triangles. Default value is -1 which means that the number of the Count of the TriangleIndices from the MeshGeometry3D is used. | |
FontFamily | Font family of the shown text. | |
MeshGeometry3D | MeshGeometry3D that will be displayed. | |
PositionsTextColor | Color of the TextBlocks that show position indexes. | |
PositionsTextFontSize | Font size of the TextBlocks that show position indexes. | |
PositionsTextFontWeight | Font weight of the TextBlocks that show position indexes. | |
ShowOnlyFrontFacingTriangles | Boolean that specifies if only data for the front facing triangles are shown (the triangle normal is pointer in the other direction as the camera's look direction). | |
ShowPositionIndexes | Boolean that specifies if position indexes are shown. | |
ShowTriangleIndexes | Boolean that specifies if triangle indexes are shown. | |
ShowTriangles | Boolean that specifies if triangle lines are shown. | |
StartTriangleIndicesIndex | Start index of the TriangleIndices collection where the MeshInspectorOverlay starts to display positions and triangles. Default value is 0. | |
Transform | Gets or sets an optional Transform3D object that is used to transform all the positions in the specified MeshGeometry3D. | |
TriangleIndexesTextColor | Color of the TextBlocks that show triangle indexes and the color of the triangle lines. | |
TriangleIndexesTextFontSize | Font size of the TextBlocks that show triangle indexes. | |
TriangleIndexesTextFontWeight | Font weight of the TextBlocks that show triangle indexes. | |
TrianglesScaleFactor | Scale factor as double that specifies hwo much the triangle lines are scaled - by default the value is set to 0.9 to slightly reduce the size of the triangle so the triangle lines do not overlap. |