API Reference › Globals › InputEvent
# Class: InputEvent
# Hierarchy
- InputEvent
# Index
# Constructors
# Properties
# Constructors
# constructor
+ new InputEvent(position?: Position2, positionRelative?: Position2, type?: INPUT_EVENT_TYPE, rotation?: number, event?: Event): InputEvent
Defined in packages/common-core/src/input/input-manager.ts:48
Parameters:
| Name | Type |
|---|---|
position? | Position2 |
positionRelative? | Position2 |
type? | INPUT_EVENT_TYPE |
rotation? | number |
event? | Event |
Returns: InputEvent
# Properties
# event
• event: Event
Defined in packages/common-core/src/input/input-manager.ts:48
# position
• position: Position2
Defined in packages/common-core/src/input/input-manager.ts:44
# positionRelative
• positionRelative: Position2
Defined in packages/common-core/src/input/input-manager.ts:45
# rotation
• rotation: number
Defined in packages/common-core/src/input/input-manager.ts:47
# type
• type: INPUT_EVENT_TYPE
Defined in packages/common-core/src/input/input-manager.ts:46