Jass:SetUnitVertexColorBJ
Aus Mappedia
| Funktion: SetUnitVertexColorBJ | |
|---|---|
| Parameter: | unit real real real real |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function SetUnitVertexColorBJ takes unit whichUnit, real red, real green, real blue, real transparency returns nothing call SetUnitVertexColor(whichUnit, PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-transparency)) endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| unit | whichUnit | |
| real | red | |
| real | green | |
| real | blue | |
| real | transparency |
