Chapter 7. Matrix Transforms

In this chapter:

Linear Transforms 289

Affine Transforms and Beyond 300

Camera Transforms 325

My coverage of transforms in Chapter 2 and Chapter 3 omitted one of the classes that derive from Transform3D. That mystery class is MatrixTransform3D, which has the flexibility to encompass all the standard translate, scale, and rotation transforms—and much more. Naturally, it's not nearly as easy to use: The single read/write Matrix property is of type Matrix3D, a structure with 16 of its own read/write properties. In XAML, you can either set these properties of the Matrix3D object individually or indicate a complete Matrix3D with a string of 16 numbers.

If you find the standard translate, scale, and rotation transforms entirely ...

Get 3D Programming for Windows® 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.