Click or drag to resize
AB4D logo

MouseDrag3DEventArgs Constructor

Constructor

Namespace: Ab3d.Common.EventManager3D
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public MouseDrag3DEventArgs(
	MouseEventArgs mouseData,
	Point currentMousePosition,
	BaseEventSource3D hitEventSource3D,
	BaseEventSource3D hitSurface,
	RayMeshGeometry3DHitTestResult rayHitResult,
	Point startDragMousePosition,
	Point3D startSurfaceHitPoint
)

Parameters

mouseData  MouseEventArgs
Original 2D mouse data (System.Windows.Input.MouseEventArgs)
currentMousePosition  Point
current Mouse Position
hitEventSource3D  BaseEventSource3D
hitEventSource3D as BaseEventSource3D
hitSurface  BaseEventSource3D
Gets the BaseEventSource3D object that was marked as IsDragSurface. It was the source to get the StartSurfaceHitPoint and CurrentSurfaceHitPoint.
rayHitResult  RayMeshGeometry3DHitTestResult
Gets the result of 3D Ray Hit Test as RayMeshGeometry3DHitTestResult.
startDragMousePosition  Point
Gets the 2D mouse position of the point where the drag was started.
startSurfaceHitPoint  Point3D
Gets the 3D position on the of the HitSurface where the drag was started.
See Also