Click or drag to resize
AB4D logo

MouseDrag3DEventArgs Constructor

Constructor

Namespace: Ab3d.DirectX.Common.EventManager3D
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public MouseDrag3DEventArgs(
	MouseEventArgs mouseData,
	Point currentMousePosition,
	BaseEventSource3D hitEventSource3D,
	BaseEventSource3D hitSurface,
	DXRayHitTestResult 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  DXRayHitTestResult
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