Class UIRotateManipulator3D
- Namespace
- HelixToolkit.Wpf.SharpDX
- Assembly
- HelixToolkit.Wpf.SharpDX.dll
A translate manipulator.
public class UIRotateManipulator3D : UIManipulator3D, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IDisposable, IVisible, IHitable, IThrowingShadow, IApplyPostEffect
- Inheritance
-
UIRotateManipulator3D
- Implements
- Inherited Members
- Extension Methods
Constructors
UIRotateManipulator3D()
Initializes a new instance of the UIManipulator3D class.
public UIRotateManipulator3D()
Fields
AxisProperty
The axis property.
public static readonly DependencyProperty AxisProperty
Field Value
InnerDiameterProperty
The inner diameter property.
public static readonly DependencyProperty InnerDiameterProperty
Field Value
LengthProperty
The length property.
public static readonly DependencyProperty LengthProperty
Field Value
OuterDiameterProperty
The diameter property.
public static readonly DependencyProperty OuterDiameterProperty
Field Value
PivotProperty
The pivot point property.
public static readonly DependencyProperty PivotProperty
Field Value
Properties
Axis
Gets or sets the rotation axis.
[TypeConverter(typeof(Vector3Converter))]
public Vector3 Axis { get; set; }
Property Value
- Vector3
The axis.
InnerDiameter
Gets or sets the inner diameter.
public double InnerDiameter { get; set; }
Property Value
- double
The inner diameter.
Length
Gets or sets the length of the cylinder.
public double Length { get; set; }
Property Value
- double
The length.
OuterDiameter
Gets or sets the diameter of the manipulator arrow.
public double OuterDiameter { get; set; }
Property Value
- double
The diameter.
Pivot
Gets or sets the pivot point of the manipulator.
[TypeConverter(typeof(Vector3Converter))]
public Vector3 Pivot { get; set; }
Property Value
- Vector3
The position.
Methods
OnModelChanged()
Called when geometry has been changed.
protected override void OnModelChanged()
OnMouse3DMove(object?, RoutedEventArgs)
protected override void OnMouse3DMove(object? sender, RoutedEventArgs e)
Parameters
senderobjecteRoutedEventArgs
UpdateManipulator(RoutedEventArgs)
protected override void UpdateManipulator(RoutedEventArgs e)