Difference between revisions of "love.touch.getPressure (Italiano)"
(Created page with "{{newin|0.10.0|100|type=function}} Restituisce la pressione di un tap specifico. == Funzione == === Sintesi === <source lang="lua"> pressure = love.touch.getPressure( id...") |
m |
||
Line 1: | Line 1: | ||
− | {{newin|[[0.10.0]]|100|type=function}} | + | {{newin (Italiano)|[[0.10.0]]|100|type=function}} |
Restituisce la pressione di un tap specifico. | Restituisce la pressione di un tap specifico. | ||
Latest revision as of 12:53, 25 March 2025
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