Click or drag to resize
Ab4d.SharpEngine logo

ModelRotator(ManualInputEventsManager, Vector3, Vector3, Vector3, Single, Single, Single, Int32) Constructor

Initializes a new instance of the ModelRotator class with providing custom axes.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public ModelRotator(
	ManualInputEventsManager inputEventsManager,
	Vector3 xAxisVector,
	Vector3 yAxisVector,
	Vector3 zAxisVector,
	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
xAxisVector  Vector3
Direction of x axis
yAxisVector  Vector3
Direction of y axis
zAxisVector  Vector3
Direction of z axis
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