Skip to content

Commit 4bf3cd5

Browse files
committed
Merge Fix DrawCorona param order in docs (pr-3534)
77d7bcc - fix(extra-natives-five): fix DrawCorona param order in docs
2 parents 38ad258 + 77d7bcc commit 4bf3cd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/native-decls/DrawCorona.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ game: gta5
66
## DRAW_CORONA
77

88
```c
9-
void DRAW_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+
void DRAW_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);
1010
```
1111
1212
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
1616
* **posY**: The Y position of the corona origin.
1717
* **posZ**: The Z position of the corona origin.
1818
* **size**: The size of the corona.
19+
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
1920
* **red**: The red component of the marker color, on a scale from 0-255.
2021
* **green**: The green component of the marker color, on a scale from 0-255.
2122
* **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.
2323
* **intensity**: The intensity of the corona.
2424
* **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.
2525
* **dirX**: The X direction of the corona.

0 commit comments

Comments
 (0)