Package com.banuba.sdk.effect_player
Class Touch
java.lang.Object
com.banuba.sdk.effect_player.Touch
public final class Touch
extends java.lang.Object
User touch object.
Coordinate system is normalized to (-1, 1) with center in (0, 0).
-
Constructor Summary
Constructors Constructor Description Touch(float x, float y, long id)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Touch
public Touch(float x, float y, long id)
-
-
Method Details
-
getX
public float getX() -
getY
public float getY() -
getId
public long getId() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-