Model |
The ModelDecoratorVisual3D type exposes the following members.
Name | Description | |
---|---|---|
BoundingBoxLineColor | Gets or sets the color of the lines that show the bounding box. Default values is Red. | |
BoundingBoxLineThickness | Gets or sets the thickness of the lines that show the bounding box. Default values is 2. | |
CalculateBoundingBoxFromPositions | Gets or sets a boolean that specifies if bounding box is calculated from transforming all the positions in the TargetModel3D so that the bounding box will exactly fit the model even when it is rotated (when value is true). When CalculateBoundingBoxFromPositions is false, then bounding box is calculated by transforming the Model3D bounding box. This is much faster, but not as accurate (bounding box can be bigger than the actually transformed model). Default value is false. | |
NormalsLineColor | Gets or sets the color of the lines that show the normals. Default values is Green. | |
NormalsLineLength | Gets or sets the length of the normal lines. When set to NaN (by default) the normals length is calculated from the size of the TargetModel3D. | |
NormalsLineThickness | Gets or sets the thickness of the lines that show the model normals. Default values is 1. | |
RootModelVisual3D | Gets or sets a ModelVisual3D that is a parent ModelVisual3D for TargetModel3D. | |
ShowBoundingBox | Gets or sets a boolean that specifies if a wire box that encloses the TargetModel3D is shown. | |
ShowNormalLineArrow | Gets or sets a nullable Boolean that specifies if normal lines are shown with arrows. If this property is set to null (by default), then arrows are shown when mesh has less then 1000 positions. When using Ab3d.DXEngine and this class is used on a model with a lot of triangles then showing arrows may be very slow (lines with arrows are not hardware accelerated). | |
ShowNormals | Gets or sets a boolean that specifies if normals of the TargetModel3D are shown. The TargetModel3D must be GeometryModel3D and not Model3DGroup. | |
ShowTriangles | Gets or sets a boolean that specifies if triangles of the TargetModel3D are shown. The TargetModel3D must be GeometryModel3D and not Model3DGroup. | |
TargetModel3D | Gets or sets Model3D for witch bounding box, normals or triangles will be shown with this ModelDecoratorVisual3D. | |
TrianglesLineColor | Gets or sets the color of the lines that show the triangles. Default values is Blue. | |
TrianglesLineThickness | Gets or sets the thickness of the lines that show the triangles. Default values is 1. |