 |
EventSourceDragEventArgs Constructor |
Constructor
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic 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