Skip to content

Commit ba31e0a

Browse files
committed
Add note to setElementAlpha
1 parent a512767 commit ba31e0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

functions/Element/setElementAlpha.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ shared: &shared
2323
preview_images:
2424
- path: setElementAlpha.png
2525
description: Player ped alpha demonstration. Shown alpha levels are 255, 100 and 0 (left to right).
26+
notes:
27+
- type: info
28+
content: After setting the alpha of an object that is normally opaque, you may run into transparency rendering issues - looking through the object might not render correctly. To fix this, use [[engineSetModelFlag]] and set the `draw_last` flag, then restream the model, for example via [[engineRestreamModel]] or another method.
2629

2730
client:
2831
<<: *shared

0 commit comments

Comments
 (0)