- Found in:
- F4SE
Description
Wiki Description
Shifts value left by n number of bits.
Documentation Comment
F4SE additions built 2025-11-11 02:05:33.464000 UTC
Caveats
Parameters
intvalue
CK Wiki Description
The integer that you wish to shift.
intshiftBy
CK Wiki Description
How many bits to shift to the left.
Examples
int iA = Math.LeftShift(52, 5) ;iA == 1664
int iC = Math.LeftShift(0x00070, 1) ;iC == 224Auto-Generated Example
int myInt__value
int myInt__shiftBy
int returnedValue = Math.LeftShift(myInt__value, myInt__shiftBy)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
