Click or drag to resize

ObjectPointer Class

A pointer of type Object.
Inheritance Hierarchy

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

The ObjectPointer type exposes the following members.

Constructors
  NameDescription
Public methodObjectPointer
Initializes a new instance of the ObjectPointer class.
Top
Properties
  NameDescription
Public propertyAngle
The Rotation of the physical object this pointer represents.
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 propertyHeight
The height of the physical object this pointer represents.
Public propertyId
Internal unique pointer id.
(Inherited from Pointer.)
Public propertyInputSource
Original input source which created this pointer.
(Inherited from Pointer.)
Public propertyObjectId
The Id of the physical object this pointer represents.
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 propertyType (Inherited from Pointer.)
Public propertyWidth
The Width of the physical object this pointer represents.
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
Fields
  NameDescription
Public fieldStatic memberDEFAULT_ANGLE
Default angle value when device doesn't provide it.
Public fieldStatic memberDEFAULT_HEIGHT
Default height value when device doesn't provide it.
Public fieldStatic memberDEFAULT_OBJECT_ID
Default object id value when device doesn't provide it.
Public fieldStatic memberDEFAULT_WIDTH
Default width value when device doesn't provide it.
Top
See Also