Click or drag to resize
Ab4d.SharpEngine logo

ModelMover(ManualInputEventsManager, Vector3, Vector3, Vector3, Single, Single, Single) Constructor

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

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public ModelMover(
	ManualInputEventsManager inputEventsManager,
	Vector3 xAxisVector,
	Vector3 yAxisVector,
	Vector3 zAxisVector,
	float axisLength = 50f,
	float axisRadius = 2f,
	float axisArrowRadius = 6f
)

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
axisLength  Single  (Optional)
length of axes
axisRadius  Single  (Optional)
radius of axes
axisArrowRadius  Single  (Optional)
radius of axis arrows
See Also