Module system.accel.VisionAccel
Functions
Tables
Attribute | |
Map |
Functions
- fovAddCircle (mask, x, y, radius)
-
Parameters:
- mask
- x
- y
- radius
- fovAddRaycast (mask, x, y)
-
Parameters:
- mask
- x
- y
- fovClear (mask)
-
Parameters:
- mask
- fovReveal ()
- lightApplyRadial (x, y, innerRadius, outerRadius, intensity)
-
Parameters:
- x
- y
- innerRadius
- outerRadius
- intensity
- perspectiveAddCircle (x, y, radius)
-
Parameters:
- x
- y
- radius
- perspectiveClear ()
- perspectiveFill ()
- setClippingRectangle (x, y, width, height)
-
Parameters:
- x
- y
- width
- height
- setMap (mapType, map, width, height)
-
Parameters:
- mapType
- map
- width
- height
- shadowAddCircle (x, y, radius)
-
Parameters:
- x
- y
- radius
- shadowClear ()
- shadowInvert ()
- updateLightMap (factor)
-
Parameters:
- factor
Tables
- Attribute
-
Fields:
- BIT_OFFSET_LIGHT
0
- BIT_COUNT_LIGHT
24
- BIT_OFFSET_OPAQUE
26
- BIT_OFFSET_VALID
27
- BIT_OFFSET_SHADOW
28
- BIT_OFFSET_PERSPECTIVE_REVEAL
29
- BIT_OFFSET_PERSPECTIVE_OCCLUDE
30
- BIT_OFFSET_PERSPECTIVE_ILLUMINATE
31
- LIGHT_TILE_SIZE
256
- LIGHT_REVEAL_THRESHOLD
7650
- LIGHT_LEVEL_MAX
25500
- BRIGHTNESS_REVEALED
91
- BRIGHTNESS_SHADOWED
66
- BRIGHTNESS_MAX
255
- BIT_OFFSET_LIGHT
- Map
-
Fields:
- VIS
1
- FOV
2
- REVEAL
3
- LIGHT
4
- VIS