|
ModelRotator(ManualInputEventsManager, Single, Single, Single, Int32) Constructor |
Initializes a new instance of the
ModelRotator class with default axes and custom circle radius (42 and 50).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public ModelRotator(
ManualInputEventsManager inputEventsManager,
float innerRadius = 42f,
float outerRadius = 50f,
float circleThickness = 2,5f,
int circleSegmentsCount = 50
)
Parameters
- inputEventsManager ManualInputEventsManager
- InputEventsManager that is used to subscribe to pointer or mouse events
- innerRadius Single (Optional)
- Inner radius of rotation circles. Default value is 42.
- outerRadius Single (Optional)
- Outer radius of rotation circles. Default value is 50.
- circleThickness Single (Optional)
- Circle thickness. Default value is 2.5.
- circleSegmentsCount Int32 (Optional)
- Number of segments that define one circle. Default value is 50.
See Also