RotateTransform3D コンストラクター

定義

RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class.

オーバーロード

RotateTransform3D()

RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class.

RotateTransform3D(Rotation3D)

指定した回転を使用して、RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class with the specified rotation.

RotateTransform3D(Rotation3D, Point3D)

指定した中心と回転を使用して、RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class with the specified center and rotation.

RotateTransform3D(Rotation3D, Double, Double, Double)

指定した回転と中心座標を使用して、RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class using the specified rotation and center coordinates.

RotateTransform3D()

RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class.

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

RotateTransform3D(Rotation3D)

指定した回転を使用して、RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class with the specified rotation.

public:
 RotateTransform3D(System::Windows::Media::Media3D::Rotation3D ^ rotation);
public RotateTransform3D (System.Windows.Media.Media3D.Rotation3D rotation);
new System.Windows.Media.Media3D.RotateTransform3D : System.Windows.Media.Media3D.Rotation3D -> System.Windows.Media.Media3D.RotateTransform3D
Public Sub New (rotation As Rotation3D)

パラメーター

rotation
Rotation3D

回転を指定する Rotation3D。Rotation3D that specifies the rotation.

//Define a transformation
RotateTransform3D myRotateTransform = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0, 2, 0), 1));
//Define an animation for the transformation
DoubleAnimation myAnimation = new DoubleAnimation();
myAnimation.From = 1;
myAnimation.To = 361;
myAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(5000));
myAnimation.RepeatBehavior = RepeatBehavior.Forever;
//Add animation to the transformation
myRotateTransform.Rotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, myAnimation);

//Add transformation to the model
teapotModel.Transform = myRotateTransform;
'Define a transformation
Dim myRotateTransform As New RotateTransform3D(New AxisAngleRotation3D(New Vector3D(0, 2, 0), 1))
'Define an animation for the transformation
Dim myAnimation As New DoubleAnimation()
myAnimation.From = 1
myAnimation.To = 361
myAnimation.Duration = New Duration(TimeSpan.FromMilliseconds(5000))
myAnimation.RepeatBehavior = RepeatBehavior.Forever
'Add animation to the transformation
myRotateTransform.Rotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, myAnimation)

'Add transformation to the model
teapotModel.Transform = myRotateTransform

RotateTransform3D(Rotation3D, Point3D)

指定した中心と回転を使用して、RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class with the specified center and rotation.

public:
 RotateTransform3D(System::Windows::Media::Media3D::Rotation3D ^ rotation, System::Windows::Media::Media3D::Point3D center);
public RotateTransform3D (System.Windows.Media.Media3D.Rotation3D rotation, System.Windows.Media.Media3D.Point3D center);
new System.Windows.Media.Media3D.RotateTransform3D : System.Windows.Media.Media3D.Rotation3D * System.Windows.Media.Media3D.Point3D -> System.Windows.Media.Media3D.RotateTransform3D
Public Sub New (rotation As Rotation3D, center As Point3D)

パラメーター

rotation
Rotation3D

回転を指定する Rotation3D。Rotation3D that specifies the rotation.

center
Point3D

変換の回転の中心。Center of the transformation's rotation.

RotateTransform3D(Rotation3D, Double, Double, Double)

指定した回転と中心座標を使用して、RotateTransform3D クラスの新しいインスタンスを初期化します。Initializes a new instance of the RotateTransform3D class using the specified rotation and center coordinates.

public:
 RotateTransform3D(System::Windows::Media::Media3D::Rotation3D ^ rotation, double centerX, double centerY, double centerZ);
public RotateTransform3D (System.Windows.Media.Media3D.Rotation3D rotation, double centerX, double centerY, double centerZ);
new System.Windows.Media.Media3D.RotateTransform3D : System.Windows.Media.Media3D.Rotation3D * double * double * double -> System.Windows.Media.Media3D.RotateTransform3D
Public Sub New (rotation As Rotation3D, centerX As Double, centerY As Double, centerZ As Double)

パラメーター

rotation
Rotation3D

回転を指定する Rotation3D。Rotation3D that specifies the rotation.

centerX
Double

回転の中心の X 値を指定する double 型。Double that specifies the X value about which to rotate.

centerY
Double

回転の中心の Y 値を指定する double 型。Double that specifies the Y value about which to rotate.

centerZ
Double

回転の中心の Z 値を指定する double 型。Double that specifies the Z value about which to rotate.

適用対象