InputSource Class |
Namespace: TouchScript.InputSources
public abstract class InputSource : MonoBehaviour, IInputSource, INTERNAL_IInputSource
The InputSource type exposes the following members.
Name | Description | |
---|---|---|
![]() | InputSource | Initializes a new instance of the InputSource class |
Name | Description | |
---|---|---|
![]() | CoordinatesRemapper |
Gets or sets current remapper.
|
Name | Description | |
---|---|---|
![]() | addPointer |
Adds the pointer to the system.
|
![]() | cancelPointer |
Cancels the pointer.
|
![]() | CancelPointer |
Cancels the pointer.
|
![]() | INTERNAL_DiscardPointer |
Used by TouchManagerInstance to return a pointer to input source.
DO NOT CALL IT DIRECTLY FROM YOUR CODE!
|
![]() | OnDisable |
Unity OnDestroy callback.
|
![]() | OnEnable |
Unity OnEnable callback.
|
![]() | pressPointer |
Mark the pointer as touching the surface.
|
![]() | releasePointer |
Mark the pointer as no longer touching the surface.
|
![]() | remapCoordinates |
Remaps the coordinates using the CoordinatesRemapper if it is set.
|
![]() | removePointer |
Removes the pointer.
|
![]() | updateCoordinatesRemapper |
Called from CoordinatesRemapper setter to update touch handlers with the new value.
|
![]() | UpdateInput |
This method is called by ITouchManager to synchronously update the input.
|
![]() | updatePointer |
Mark pointer as updated.
|
![]() | UpdateResolution |
Forces the input to update its state when resolution changes.
|