9 y' X0 x5 u. S8 HCode:代码: 8 j2 L* |5 D% T( BD3DCOLOR_XYUV s# Y+ [( m( `! a- D3 ]) e
D3DCOLOR_AYUV7 _8 N O w& x( P
D3DCOLOR_ARGB 2 |8 c: v! r- \/ mD3DCOLOR_RGBA6 D. d+ d% X! F- o
D3DCOLOR_XRGB - N1 B7 X$ T' u0 z& k; o5 ?. e8 ID3DCOLOR_COLORVALUEObviously if you set a new D3DCOLOR type you also have to change the values as well. 显然如果你设定一个新的D3DCOLOR类型你也必须改变的价值。RGBA = red green blue alpha, so change the first three to the colors you desire and the fourth to the alpha level. RGBA红绿蓝色=阿尔法,所以改变前三个颜色你欲望和四年级到α-水平。With XRGB you would have no alpha, just XXX, XXX, XXX. 与XRGB就没有阿尔法,只是XXX,XXX,XXX。Do note that black is impossible unless you do heavy alterations to the source.黑色是不可能做的注意,除非你重修改源。+ J1 W6 b6 W/ M4 n, A
$ v) d: U% |; t- i4 S: [* B- K3 ?The format works this way: 255, 255, 255, 0. 这样做的格式:255、255、255 0。The numbers are Red, Blue, Green, Alpha. 这些数字都是红色、蓝色、绿色、α波。Change each value from 0 to 255 as you wish.改变每个值从0到255随你的便。 + s8 c0 w6 A6 Z% \5 ~+ A+ k 0 I! y( d& `3 V& Iinb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器 : G$ s4 x) T! [# K2 g Y B: c& c0 e' u, }4 m