AxisAngleRotation3D Constructor (Vector3D, Double)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates an instance of a 3-D rotation using the specified axis and angle.

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

new : 
        axis:Vector3D *
        angle:float -> AxisAngleRotation3D


Type: System.Windows.Media.Media3D.Vector3D

Vector3D that specifies the axis around which to rotate.

Type: System.Double

Double that specifies the angle of rotation, in degrees.

The following code excerpt specifies an AxisAngleRotation3D as the Rotation property of a RotateTransform3D.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top