|  | 
| ModelRotator Class | 
            ModelRotator is a helper class that can be used to rotate selected 3D models in the 3D space.
            Its 
ModelRotatorGroupNode can show 3 circles that can be dragged by the user to rotate the selected 3D model.
            
 Inheritance Hierarchy
Inheritance HierarchySystemObject
  Ab4d.SharpEngine.UtilitiesModelRotator
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic class ModelRotator : IDisposable
The ModelRotator type exposes the following members.
 Constructors
Constructors|  | Name | Description | 
|---|
|  | ModelRotator(ManualInputEventsManager) | Initializes a new instance of the ModelRotator class with default axes and default circle radius (42 and 50). | 
|  | ModelRotator(ManualInputEventsManager, Single, Single, Single, Int32) | Initializes a new instance of the ModelRotator class with default axes and custom circle radius (42 and 50). | 
|  | ModelRotator(ManualInputEventsManager, Vector3, Vector3, Vector3, Single, Single, Single, Int32) | Initializes a new instance of the ModelRotator class with providing custom axes. | 
Top Properties
Properties|  | Name | Description | 
|---|
|  | CustomRenderingLayer | Gets or sets a custom RenderingLayer that will be used by all ModelNodes in this ModelMover.
            For example, this is usually set to OverlayRenderingLayer. | 
|  | IsEnabled | Gets or sets a Boolean that specifies if this ModelMover is enabled.
            When disabled, then also the Visibility of ModelRotatorGroupNode is set to Hidden. | 
|  | IsXAxisRotationCircleShown | Gets or sets a Boolean that specifies if the X axis is shown. Default value is true. | 
|  | IsYAxisRotationCircleShown | Gets or sets a Boolean that specifies if the Y axis is shown. Default value is true. | 
|  | IsZAxisRotationCircleShown | Gets or sets a Boolean that specifies if the Z axis is shown. Default value is true. | 
|  | ModelRotatorGroupNode | Gets the GroupNode that can be added to the Scene and represents the 3D models that form the ModelRotator. | 
|  | Position | Gets or sets Vector3 that specifies the position of the ModelMover axis origin. | 
|  | RotateButtons | Gets or sets button(s) that need to be pressed to start rotating this ModelRotator. Default value is left mouse button. | 
|  | RotateX | Gets a float that specified the rotation angle in degrees around the X axis. | 
|  | RotateY | Gets a float that specified the rotation angle in degrees around the Y axis. | 
|  | RotateZ | Gets a float that specified the rotation angle in degrees around the Z axis. | 
|  | SelectedMaterial | Gets or sets a Material that is used when pointer is over the arrow. If set to null, the arrow material is not changed. Default value is StandardMaterials.Yellow. | 
|  | XAxisRotationCircleColor | Gets or sets the color of rotation circle for X axis. | 
|  | XAxisVector | XAxisVector | 
|  | YAxisRotationCircleColor | Gets or sets the color of rotation circle for Y axis. | 
|  | YAxisVector | YAxisVector | 
|  | ZAxisRotationCircleColor | Gets or sets the color of rotation circle for Z axis. | 
|  | ZAxisVector | ZAxisVector | 
Top Methods
Methods Events
Events|  | Name | Description | 
|---|
|  | ModelRotated | ModelRotating event is fired when model is rotated. | 
|  | ModelRotateEnded | ModelMoveEnded event is fired when moving of the model is stopped. | 
|  | ModelRotateStarted | ModelRotatingStarted event is fired when rotating of the model is started. | 
Top Fields
Fields See Also
See Also