You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/native-decls/DrawCorona.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ game: gta5
6
6
## DRAW_CORONA
7
7
8
8
```c
9
-
voidDRAW_CORONA(float posX, float posY, float posZ, float size, int red, int green, int blue, int alpha, float intensity, float zBias, float dirX, float dirY, float dirZ, float viewThreshold, float innerAngle, float outerAngle, int flags);
9
+
voidDRAW_CORONA(float posX, float posY, float posZ, float size, int alpha, int red, int green, int blue, float intensity, float zBias, float dirX, float dirY, float dirZ, float viewThreshold, float innerAngle, float outerAngle, int flags);
10
10
```
11
11
12
12
Allows drawing advanced light effects, known as coronas, which support flares, volumetric lighting, and customizable glow properties.
@@ -16,10 +16,10 @@ Allows drawing advanced light effects, known as coronas, which support flares, v
16
16
* **posY**: The Y position of the corona origin.
17
17
* **posZ**: The Z position of the corona origin.
18
18
* **size**: The size of the corona.
19
+
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
19
20
* **red**: The red component of the marker color, on a scale from 0-255.
20
21
* **green**: The green component of the marker color, on a scale from 0-255.
21
22
* **blue**: The blue component of the marker color, on a scale from 0-255.
22
-
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
23
23
* **intensity**: The intensity of the corona.
24
24
* **zBias**: zBias slightly shifts the depth of surfaces to make sure they don’t overlap or cause visual glitches when they are very close together. The zBias value are usually in the range of 0.0 to 1.0.
0 commit comments