 |
EventSourceDragEventArgs Constructor |
Constructor
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.EventSourceDragEventArgs.#ctor(Ab4d.SharpEngine.Utilities.InputEventsSource,Ab4d.SharpEngine.Common.RayHitTestResult,Ab4d.SharpEngine.SceneNodes.ModelNode,System.Int32,System.Numerics.Vector2,Ab4d.SharpEngine.Common.PointerButtons,System.Numerics.Vector2,System.Numerics.Vector3)"]
See Also