Visual3D contains methods for the opposite scenario of mapping from 3D space into 2D space. The
GeneralTransform3DTo2D returned by
Visual3D.TransformToAncestor maps from the
Visual3D’s 3D coordinate space into some 2D parent’s coordinate space. This is especially useful when an app tracks a 3D point on the screen and then draws 2D content whose position must follow that 3D point.
<Window x:Class="MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...