Afficher en anglais Édition

Partage via


Visual3D.TransformToDescendant(Visual3D) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Returns a transform that can be used to transform coordinates from this Visual3D object to the specified Visual3D descent object.

C#
public System.Windows.Media.Media3D.GeneralTransform3D TransformToDescendant(System.Windows.Media.Media3D.Visual3D descendant);

Parameters

descendant
Visual3D

The Visual3D to which the coordinates are transformed.

Returns

A GeneralTransform3D object; or null, if the transform from descendant to this object is non-invertible.

Exceptions

descendant is null.

This object is not an ancestor of the specified descendant object.

The Visual3D objects are not related.

Remarks

The TransformToDescendant method is introduced in .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10