|
deki-input 1.3.0
Deki package reference
|
Input handling and collision detection
Repository: github.com/dekiengine/deki-input · Latest release: 1.1.0 · Needs engine 1.2.0+ · Requires: deki-rendering
Install: DekiEditor --packages-add deki-input <project>, or add it in the Package Manager. Part of Deki; the engine's own components and the C++ API are documented there.
Shown in the editor as Input.
| Component | Category | Description |
|---|---|---|
| InputCollider | Input | Hit area for pointer and touch. Buttons and scrolls listen to it. |
Compile-time features the package exposes (package.json):
| Feature | Define | Default |
|---|---|---|
| Input | DEKI_FEATURE_INPUT | on |
Hit area for pointer and touch. Buttons and scrolls listen to it.
Inspector name: Input Collider · Category: Input · Type GUID: a1b2c3d4-e5f6-7890-abcd-ef1234567890
| Property | Type | Default | Constraints | Description |
|---|---|---|---|---|
| width | float | 0 | in m | |
| height | float | 0 | in m | |
| paddingLeft | float | 0 | in m | |
| paddingRight | float | 0 | in m | |
| paddingTop | float | 0 | in m | |
| paddingBottom | float | 0 | in m | |
| consumeInput | bool | true |
Generated from the package's reflection metadata by the Deki documentation build (engine 1.3.0). Reflected property names are the keys scene files use; a rename ships with an alias, see COMPATIBILITY.md.