Editare

Partajați prin


Visual3D.TransformToDescendant(Visual3D) Method

Definition

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

public:
 System::Windows::Media::Media3D::GeneralTransform3D ^ TransformToDescendant(System::Windows::Media::Media3D::Visual3D ^ descendant);
public System.Windows.Media.Media3D.GeneralTransform3D TransformToDescendant (System.Windows.Media.Media3D.Visual3D descendant);
member this.TransformToDescendant : System.Windows.Media.Media3D.Visual3D -> System.Windows.Media.Media3D.GeneralTransform3D
Public Function TransformToDescendant (descendant As Visual3D) As GeneralTransform3D

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