Click or drag to resize

MousePointer Class

A pointer of type Mouse.
Inheritance Hierarchy

Namespace:  TouchScript.Pointers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class MousePointer : Pointer

The MousePointer type exposes the following members.

Constructors
  NameDescription
Public methodMousePointer
Initializes a new instance of the MousePointer class.
Top
Properties
  NameDescription
Public propertyButtons
Current buttons state of the pointer.
(Inherited from Pointer.)
Public propertyFlags

Gets or sets pointer flags: [!:FLAG_ARTIFICIAL]

Note: setting this property doesn't immediately change its value, the value actually changes during the next TouchManager update phase.

(Inherited from Pointer.)
Public propertyId
Internal unique pointer id.
(Inherited from Pointer.)
Public propertyInputSource
Original input source which created this pointer.
(Inherited from Pointer.)
Public propertyPosition
Current position in screen coordinates.
(Inherited from Pointer.)
Public propertyPreviousPosition
Previous position in screen coordinates.
(Inherited from Pointer.)
Public propertyProjectionParams
Projection parameters for the layer which created this pointer.
(Inherited from Pointer.)
Public propertyScrollDelta
Mouse scroll delta this frame.
Public propertyType (Inherited from Pointer.)
Top
Methods
  NameDescription
Public methodCopyFrom
Copies values from the target.
(Overrides PointerCopyFrom(Pointer).)
Public methodEquals(Object) (Inherited from Pointer.)
Public methodEquals(Pointer) (Inherited from Pointer.)
Public methodGetHashCode (Inherited from Pointer.)
Public methodGetOverData
Returns HitData for current pointer position, i.e. what is right beneath it. Caches the result for the entire frame.
(Inherited from Pointer.)
Public methodGetPressData
Returns HitData when the pointer was pressed. If the pointer is not pressed uninitialized HitData is returned.
(Inherited from Pointer.)
Public methodToString (Inherited from Pointer.)
Top
See Also