AxisAngleRotation3D.Axis Property

Gets or sets the axis of a 3-D rotation.

Namespace: System.Windows.Media.Media3D
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:

public Vector3D Axis { get; set; }
/** @property */
public Vector3D get_Axis ()

/** @property */
public void set_Axis (Vector3D value)

public function get Axis () : Vector3D

public function set Axis (value : Vector3D)

    <Vector3D .../>
<object Axis="Vector3D" .../>

Property Value

Vector3D that specifies the axis of rotation.

The following code excerpt applies an AxisAngleRotation3D to a GeometryModel3D.

    <GeometryModel3D Geometry="{StaticResource myTeapot}">
            <SolidColorBrush Color="Blue" Opacity="1.0" />
            <AxisAngleRotation3D x:Name="myAngleRotation" Axis="0,3,0" Angle="1" />

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