RotateTransform3D 생성자

정의

RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

오버로드

RotateTransform3D()

RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

RotateTransform3D(Rotation3D)

지정된 회전을 사용하여 RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

RotateTransform3D(Rotation3D, Point3D)

지정된 중심 및 회전으로 RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

RotateTransform3D(Rotation3D, Double, Double, Double)

지정된 회전 및 중심 좌표를 사용하여 RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

RotateTransform3D()

RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

RotateTransform3D(Rotation3D)

지정된 회전을 사용하여 RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

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입니다.

예제

//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 클래스의 새 인스턴스를 초기화합니다.

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입니다.

center
Point3D

변환의 회전 중심입니다.

적용 대상

RotateTransform3D(Rotation3D, Double, Double, Double)

지정된 회전 및 중심 좌표를 사용하여 RotateTransform3D 클래스의 새 인스턴스를 초기화합니다.

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입니다.

centerX
Double

회전의 기준으로 사용할 X 값을 지정하는 Double입니다.

centerY
Double

회전의 기준으로 사용할 Y 값을 지정하는 Double입니다.

centerZ
Double

회전의 기준으로 사용할 Z 값을 지정하는 Double입니다.

적용 대상