語言

AxisAngleRotation3D 建構函式

定義

建立一個三維旋轉的實例。

多載

名稱 Description
AxisAngleRotation3D()

建立一個三維旋轉的實例。

AxisAngleRotation3D(Vector3D, Double)

使用指定的軸與角度建立一個三維旋轉實例。

AxisAngleRotation3D()

建立一個三維旋轉的實例。

public:
 AxisAngleRotation3D();
public AxisAngleRotation3D();
Public Sub New ()

適用於

AxisAngleRotation3D(Vector3D, Double)

使用指定的軸與角度建立一個三維旋轉實例。

public:
 AxisAngleRotation3D(System::Windows::Media::Media3D::Vector3D axis, double angle);
public AxisAngleRotation3D(System.Windows.Media.Media3D.Vector3D axis, double angle);
new System.Windows.Media.Media3D.AxisAngleRotation3D : System.Windows.Media.Media3D.Vector3D * double -> System.Windows.Media.Media3D.AxisAngleRotation3D
Public Sub New (axis As Vector3D, angle As Double)

參數

axis
Vector3D

Vector3D 該指明了要旋轉的軸。

angle
Double

加倍,表示旋轉角度,單位為度數。

範例

以下程式碼摘錄指定 為 的AxisAngleRotation3DRotation性質RotateTransform3D。

//Define a rotation
RotateTransform3D myRotateTransform = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0, 1, 0), 1));
'Define a rotation
Dim myRotateTransform As New RotateTransform3D(New AxisAngleRotation3D(New Vector3D(0, 1, 0), 1))

適用於