Click or drag to resize

TouchManagerInstance Class

Default implementation of ITouchManager.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          TouchScript.CoreDebuggableMonoBehaviour
            TouchScript.CoreTouchManagerInstance

Namespace:  TouchScript.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public sealed class TouchManagerInstance : DebuggableMonoBehaviour, 
	ITouchManager

The TouchManagerInstance type exposes the following members.

Constructors
  NameDescription
Public methodTouchManagerInstance
Initializes a new instance of the TouchManagerInstance class
Top
Properties
  NameDescription
Public propertyDebugMode
Gets or sets if this object should show its debug information.
(Inherited from DebuggableMonoBehaviour.)
Public propertyDisplayDevice
Gets or sets current display device.
Public propertyDotsPerCentimeter
Gets number of pixels in a cm with current DPI.
Public propertyDPI
Gets current DPI.
Public propertyInputs
Gets the list of IInputSource
Public propertyStatic memberInstance
Gets the instance of TouchManager singleton.
Public propertyIsInsidePointerFrame
Indicates that execution is currently inside a TouchScript Pointer Frame, i.e. before FrameFinished and after FrameStarted events.
Public propertyPointers
Gets the list of pointers.
Public propertyPointersCount
Gets number of pointers in the system.
Public propertyPressedPointers
Gets the list of pressed pointers.
Public propertyPressedPointersCount
Gets the number of pressed pointer in the system.
Public propertyShouldCreateCameraLayer
Indicates if TouchScript should create a StandardLayer for you if no layers present in a scene.
Public propertyShouldCreateStandardInput
Gets or sets a value indicating whether a StandardInput should be created in scene if no inputs present.
Top
Methods
  NameDescription
Public methodAddInput
Adds an input source.
Public methodCancelPointer(Int32)
Cancels a pointer.
Public methodCancelPointer(Int32, Boolean)
Cancels a pointer and returns it to the system of need.
Public methodRemoveInput
Removes the input.
Public methodUpdateResolution
Tells TouchScript to update internal state after a resolution change.
Top
Events
  NameDescription
Public eventFrameFinished
Occurs when a frame is finished. After all other events.
Public eventFrameStarted
Occurs when a new frame is started before all other events.
Public eventPointersAdded
Occurs when new hovering pointers are added.
Public eventPointersCancelled
Occurs when pointers are cancelled.
Public eventPointersPressed
Occurs when pointers touch the surface.
Public eventPointersReleased
Occurs when pointers are released.
Public eventPointersRemoved
Occurs when pointers are removed from the system.
Public eventPointersUpdated
Occurs when pointers are updated.
Top
See Also