none
How use Viewport3D get ModelVisual3D or GeometryModel3D?? RRS feed

  • 问题

  • I'm load Viewport3D xaml(VD.xaml).

    example:

      Viewport3D view3D;

     

    using (FileStream fileStream = File.OpenRead(@"VD.xaml"))
                {
                    view3D = (Viewport3D)(XamlReader.Load(fileStream));
                }

    the xaml have

    <Viewport3D ><ModelVisual3D> <GeometryModel3D> <TranslateTransform3D>

    how can i use view3D to load

     <ModelVisual3D> <GeometryModel3D><TranslateTransform3D> .

    use view3D .Children?

    thanks your help^^

    2012年10月18日 9:09

答案

全部回复