Shareable Models

The classes in the System.Windows.Media.Media3D namespace distinguish between visuals and models. The only instantiable visual class is ModelVisual3D, which has a Content property of type Model3D. The Model3D class is the parent of GeometryModel3D and Light, which is parent to all the classes that provide lighting in your 3D scenes. For purposes of this discussion, the Camera classes, the Material classes, and the Transform3D classes can also be considered models.

A visual is something that has a visual appearance and can actually be rendered on the screen. The model provides information to the visual that the visual uses to render itself.

One crucial difference between visuals and models is that models can be shared among multiple ...

Get 3D Programming for Windows® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.