Model3D
Model3D
s are the building blocks out of which you build a 3D model for a scene. Multiple Model3D
s 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 Drawing
s 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
:
Light—Has several subclasses that emit light into the scene. It is often overlooked that Light
s are, in fact, Model3D
s, 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.