Back to project page webots-remote-control.
The source code is released under:
GNU Lesser General Public License
If you think the Android project webots-remote-control listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.black_mesa.webots_remote_control.listeners; // ww w . j ava 2s.c o m public interface CameraTouchListenerV3 { /** * Indicates that the camera must move forward. * * @param forward * Distance of the movement (typically between -0.5 and 0.5). * @param time * Time, in milliseconds, spent on the event. To get the final * distance, distances have typically to be multiplied by this * value (typically around 32). */ void moveForward(float forward, long time); /** * Indicates that the camera must move sideways. * * @param right * Distance of the movement along the right axis (typically between -0.5 and 0.5). * @param up * Distance of the movement along the up axis (typically between -0.5 and 0.5). * @param time * Time, in milliseconds, spent on the event. To get the final distance, distances have typically to be * multiplied by this value (typically around 32). */ void moveSide(float right, float up, long time); /** * Indicates that the camera must change its orientation. * * @param turn * Amplitude of the turn orientation change (typically between -0.5 and 0.5). * @param pitch * Amplitude of the pitch orientation change (typically between -0.5 and 0.5). */ void turnPitch(float turn, float pitch); }