Click or drag to resize
Ab4d.SharpEngine logo

EventSourceDragEventArgs Constructor

Constructor

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public EventSourceDragEventArgs(
	InputEventsSource hitEventSource,
	RayHitTestResult rayHitResult,
	ModelNode? surfaceModelNode,
	int surfacePlaneIndex,
	Vector2 currentPointerPosition,
	PointerButtons pressedButtons,
	Vector2 startDragPointerPosition,
	Vector3 startSurfaceHitPoint
)

Parameters

hitEventSource  InputEventsSource
hitEventSource as InputEventsSource
rayHitResult  RayHitTestResult
Ray hit test result as RayHitTestResult.
surfaceModelNode  ModelNode
ModelNode that is used as surface or null if surface plane is used
surfacePlaneIndex  Int32
index of surface plane that is used as surface or -1 if surfaceModelNode is used
currentPointerPosition  Vector2
current pointer or mouse position
pressedButtons  PointerButtons
all pressed buttons
startDragPointerPosition  Vector2
2D pointer or mouse position of the point where the drag was started
startSurfaceHitPoint  Vector3
Gets the 3D position on the of the HitSurface where the drag was started.
See Also