AxisAngleRotation3D rotation = new AxisAngleRotation3D(); // 设置旋转轴(这里是一个单位向量) Vector3D axis = new Vector3D(0, 1, 0); // Y轴 rotation.Axis = axis; // 设置旋转角度(弧度) rotation.Angle = Math.PI / 4; // 45度 // 应用旋转到一个3D模型 ModelVisual3D model = .....
System.Windows.Media.Media3D AffineTransform3D AmbientLight AxisAngleRotation3D AxisAngleRotation3D 构造函数 字段 属性 方法 照相机 ContainerUIElement3D 漫射材料 DirectionalLight EmissiveMaterial GeneralTransform2DTo3D GeneralTransform3D GeneralTransform3DCollection ...
x:Object > DependencyObject > Freezable > Animatable > Rotation3D > AxisAngleRotation3D Expand table (usage) <AxisAngleRotation3D /> (description) Represents a 3-D rotation of a specified angle about a specified axis. (properties) Angle x:Double (description) The angle of a 3-D ...
AxisAngleRotation3D.AngleProperty 欄位 參考 意見反應 定義 命名空間: System.Windows.Media.Media3D 組件: PresentationCore.dll 識別Angle 相依性屬性。 C# 複製 public static readonly System.Windows.DependencyProperty AngleProperty; 欄位值 DependencyProperty 範例 下列程式碼摘錄會使用這...
AxisAngleRotation3D() Creates an instance of a 3-D rotation. AxisAngleRotation3D(Vector3D, Double) Creates an instance of a 3-D rotation using the specified axis and angle. AxisAngleRotation3D() Creates an instance of a 3-D rotation. C# 複製 public AxisAngleRotation3D (); Applies t...
Media3D 組件: PresentationCore.dll 識別Axis 相依性屬性。 C# 複製 public static readonly System.Windows.DependencyProperty AxisProperty; 欄位值 DependencyProperty 範例 下列程式碼摘錄使用此屬性做為動畫的目標。 C# 複製 myRotateTransform.Rotation.BeginAnimation(AxisAngleRotation3D.AxisProperty, myVe...
AxisAngleRotation3D.AngleProperty 欄位 參考 意見反應 定義 命名空間: System.Windows.Media.Media3D 組件: PresentationCore.dll 識別Angle 相依性屬性。 C# 複製 public static readonly System.Windows.DependencyProperty AngleProperty; 欄位值 DependencyProperty 範例 下列程式碼摘錄會使用這個...
AxisAngleRotation3D.Angle Property Reference Feedback Definition Namespace: System.Windows.Media.Media3D Assembly: PresentationCore.dll Gets or sets the angle of a 3-D rotation, in degrees. C# 複製 public double Angle { get; set; } Property Value Double Double that specifies the ...
AxisAngleRotation3D.Angle Property Reference Feedback Definition Namespace: System.Windows.Media.Media3D Assembly: PresentationCore.dll Gets or sets the angle of a 3-D rotation, in degrees. C# 複製 public double Angle { get; set; } Property Value Double Double that specifies the a...
<AxisAngleRotation3D /> (description) Represents a 3-D rotation of a specified angle about a specified axis. (properties) Angle x:Double (description) The angle of a 3-D rotation, in degrees. Axis Vector3D (description) The axis of a 3-D rotation....