Export (0) Print
Expand All

Model3D.Transform Property

Gets or sets the Transform3D set on the model.

Namespace: System.Windows.Media.Media3D
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public Transform3D Transform { get; set; }
/** @property */
public Transform3D get_Transform ()

/** @property */
public void set_Transform (Transform3D value)

public function get Transform () : Transform3D

public function set Transform (value : Transform3D)

For XAML information, see the Transform3D type.

Property Value

Transform3D set on the model. The default value is MatrixTransform3D.

Identifier Field

TransformProperty

Metadata Flags

None

<GeometryModel3D.Transform>
    <TranslateTransform3D
      OffsetX="2" OffsetY="0" OffsetZ="-1"   >
    </TranslateTransform3D>
</GeometryModel3D.Transform>

More Code

How to: Create a 3-D Scene

This example shows how to create a 3-D object that looks like a flat sheet of paper which has been rotated. A Viewport3D along with the following components are used to create this simple 3-D scene:

How to: Animate 3-D Translations

This topic demonstrates how to animate a translation transformation set on a 3-D model.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft