Click or drag to resize
Ab4d.SharpEngine logo

EventSourceDragEventArgs Class

EventSourceDragEventArgs defines data about pointer drag. To prevent creating many new objects, the same instance of EventSourceDragEventArgs can be shared between different events.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Ab4d.SharpEngine.CommonPointerStateEventArgs
      Ab4d.SharpEngine.CommonEventSourceEventArgs
        Ab4d.SharpEngine.CommonEventSourceHitEventArgs
          Ab4d.SharpEngine.CommonEventSourceDragEventArgs

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class EventSourceDragEventArgs : EventSourceHitEventArgs

The EventSourceDragEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodEventSourceDragEventArgs Constructor
Top
Properties
 NameDescription
Public propertyCurrentSurfaceHitPoint Gets the current 3D position on the of the HitSurface.
Public propertyPositionDiff Gets the Vector2 that defines the difference from the start drag position and current position.
Public propertyStartDragPosition Gets the 2D pointer or mouse position of the point where the drag was started.
Public propertyStartSurfaceHitPoint Gets the 3D position on the of the HitSurface where the drag was started.
Public propertySurfaceHitPointDiff Gets the 3D Vector that defines the difference from the mouse start drag position and mouse current position.
Public propertySurfaceModelNode Gets the ModelNode that is used as surface or null if surface plane is used (see SurfacePlaneIndex).
Public propertySurfacePlaneIndex Gets an index of surface plane that is used as surface or -1 if surfaceModelNode is used (see SurfaceModelNode)
Top
See Also