Viewport:set_mappings()
Viewport:set_mappings(mapping_defs)
This function sets Event-Action mappings associated with the viewport.
tip
You can reset the Event-Action mappings associated with the viewport by specifying an empty table, i.e. {}
.
Parameters
Parameter | Type | Description |
---|---|---|
mapping_defs | table | Event-Action mapping array. It specifis an array table of Event-Action mapping definiton |
Return Values
This function doesn't return any value.