love.touch.getPressure (Italiano)
Disponibile da LÖVE 0.10.0 |
Questa/o function non è supportata/o nelle versioni precedenti. |
Restituisce la pressione di un tap specifico.
Funzione
Sintesi
pressure = love.touch.getPressure( id )
Parametri
light userdata (Italiano) id
- L'identificativo di un tap. Usa love.touch.getTouches, love.touchpressed, oppure love.touchmoved per ottenere un tap id.
Cosa ritorna
number (Italiano) pressure
- L'intensità di pressione nel tap, nei valori [0, 1]. Molti touchscreen non hanno sensibilità circa la pressione di un tap, in quei casi il valore sarà sempre massima, quindi 1.
Vedi anche
- love.touch (Italiano)
- love.touch.getTouches (Italiano)
- love.touchpressed (Italiano)
- love.touchmoved (Italiano)
In altre lingue
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info