|
EdgeLinesFactorySetEdgeLinesForEachGeometryModel3D Method |
CreateEdgeLinesForEachGeometryModel3D method goes through all GeometryModel3D objects in the specified model3D hierarchy and
creates one MultiLineVisual3D for each GeometryModel3D.
The edge lines are created if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public void SetEdgeLinesForEachGeometryModel3D(
Model3D model3D,
double edgeStartAngleInDegrees,
double lineThickness,
Color lineColor,
ModelVisual3D parentModelVisual3D,
Transform3D parentTransform3D = null,
bool setEdgeMultiLineVisual3DProperty = true
)
Parameters
- model3D Model3D
- Model3D
- edgeStartAngleInDegrees Double
- if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
- lineThickness Double
- line thickness
- lineColor Color
- line color
- parentModelVisual3D ModelVisual3D
- ModelVisual3D where the created MultiLineVisual3D objects will be added to
- parentTransform3D Transform3D (Optional)
- Transform3D that is added to the model3D (null by default)
- setEdgeMultiLineVisual3DProperty Boolean (Optional)
- when true (by default) the EdgeMultiLineVisual3DProperty is set to each GeometryModel3D (if not frozen) and it is set to the created MultiLineVisual3D
See Also