| Next revision | Previous revision | ||
|
hpl3:community:scripting:classes:ekeymodifier [2015/11/05 12:37] abion47 created |
hpl3:community:scripting:classes:ekeymodifier [2015/11/06 02:50] (current) abion47 [Values] |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^ Enum Name ^ Integer Value ^ Description ^ | ^ Enum Name ^ Integer Value ^ Description ^ | ||
| - | | eKeyModifier_None | 0 | | | + | | eKeyModifier_None | 0 | No modifier keys are pressed. | |
| - | | eKeyModifier_Ctrl | 1 | | | + | | eKeyModifier_Ctrl | 1 | The control key is pressed. | |
| - | | eKeyModifier_Shift | 2 | | | + | | eKeyModifier_Shift | 2 | The shift key is pressed. | |
| - | | eKeyModifier_Alt | 4 | | | + | | eKeyModifier_Alt | 4 | The alt key is pressed. | |
| | eKeyModifier_LastEnum | 5 | | | | eKeyModifier_LastEnum | 5 | | | ||
| ====Remarks==== | ====Remarks==== | ||
| - | Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! | + | The eKeyModifier enum type is an implementation of what is known as a [[wp>Bit_Field|Bit Field]]. Multiple enum values can be combined into a single integer value containing all the combined enum flags. In this case, a single integer can represent that multiple modifier keys, for example "Control" and "Alt", are being pressed simultaneously. See [[eFlagBit]] for an explanation on how to process bit fields. |