05-18-2015, 09:04 PM
I current add my model to the viewport using code.
XAML is
C#
What is the best setup if I want to show a Wireframe version of the model?
I already tried this
XAML
C#
But the above did not showing anything.
Please help ;)
XAML is
Code:
<!--Landscape Model-->
<ModelVisual3D>
<ModelVisual3D.Content>
<Model3DGroup x:Name="LandScapeModelGroup">
<AmbientLight Color="DarkGray"/>
</Model3DGroup>
</ModelVisual3D.Content>
</ModelVisual3D>C#
Code:
// add model to landscape group
LandScapeModelGroup.Children.Add(mGeometry);What is the best setup if I want to show a Wireframe version of the model?
I already tried this
XAML
Code:
<visuals:WireframeVisual3D WireframeType="WireframeWithOriginalSolidModel" >
<GeometryModel3D x:Name="WireframeModel">
</GeometryModel3D>
</visuals:WireframeVisual3D>C#
Code:
WireframeModel = mGeometry;But the above did not showing anything.
Please help ;)

