Model3D

Model3Ds are the building blocks out of which you build a 3D model for a scene. Multiple Model3Ds are often grouped together to make a single 3D model. The Model3D classes are analogous to WPF’s 2D Drawing classes briefly described in the preceding chapter. However, unlike in 2D, where using Drawings is one of many ways to add 2D content to a WPF app, using Model3D is the only way to declare 3D content in WPF.

WPF includes three subclasses of Model3D:

Image Light—Has several subclasses that emit light into the scene. It is often overlooked that Lights are, in fact, Model3Ds, which is very convenient for scenarios such as attaching the headlights ...

Get XAML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.