Click or drag to resize
AB4D logo

MeshInspectorOverlay Properties

The MeshInspectorOverlay type exposes the following members.

Properties
 NameDescription
Public propertyAutoUpdateWhenCameraIsChanged Gets or sets a Boolean that specifies if MeshInspectorOverlay automatically calls Update method when the Camera is changed. Default values is true.
Public propertyCamera 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.
Public propertyCombinePositionIndexes CombinePositionIndexes defines when the strings of position indexes are combined into one string with comma separated index values.
Public propertyEndTriangleIndicesIndex 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.
Public propertyFontFamily Font family of the shown text.
Public propertyMeshGeometry3D MeshGeometry3D that will be displayed.
Public propertyPositionsTextColor Color of the TextBlocks that show position indexes.
Public propertyPositionsTextFontSize Font size of the TextBlocks that show position indexes.
Public propertyPositionsTextFontWeight Font weight of the TextBlocks that show position indexes.
Public propertyShowOnlyFrontFacingTriangles 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).
Public propertyShowPositionIndexes Boolean that specifies if position indexes are shown.
Public propertyShowTriangleIndexes Boolean that specifies if triangle indexes are shown.
Public propertyShowTriangles Boolean that specifies if triangle lines are shown.
Public propertyStartTriangleIndicesIndex Start index of the TriangleIndices collection where the MeshInspectorOverlay starts to display positions and triangles. Default value is 0.
Public propertyTransform Gets or sets an optional Transform3D object that is used to transform all the positions in the specified MeshGeometry3D.
Public propertyTriangleIndexesTextColor Color of the TextBlocks that show triangle indexes and the color of the triangle lines.
Public propertyTriangleIndexesTextFontSize Font size of the TextBlocks that show triangle indexes.
Public propertyTriangleIndexesTextFontWeight Font weight of the TextBlocks that show triangle indexes.
Public propertyTrianglesScaleFactor 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.
Top
See Also