August 2007
Intermediate to advanced
864 pages
25h 52m
English
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Media3D.Visual3DThe abstract Visual3D class
fulfills the same role for 3D content as Visual does in 2D. All 3D elements in the
visual tree derive from Visual3D,
which provides transformation and hit testing services.
In the current version of WPF, only one type is derived from
Visual3D: ModelVisual3D. As with the 2D Visual class, you cannot usefully derive
directly from Visual3D because the
mechanisms by which content is rendered are internal. Nonetheless, you
need to be aware of the class because it crops up in certain APIs,
including the 3D hit testing APIs. We describe 3D hit testing in Chapter 17, along with the Visual3D and ModelVisual3D types.