7 B$ I3 A6 U4 x+ G yCode:代码:# B0 m. F8 N. O+ W( D5 l2 [
D3DCOLOR_XYUV4 S: L+ C( x1 a( W& h
D3DCOLOR_AYUV : j, d& X0 b! w5 b2 O; gD3DCOLOR_ARGB8 y, A4 R$ M' r4 U
D3DCOLOR_RGBA % L3 \+ Q0 W! K6 ]" R" P9 y8 gD3DCOLOR_XRGB / E9 @( d+ G$ tD3DCOLOR_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.黑色是不可能做的注意,除非你重修改源。$ n0 m5 F6 Q9 h0 p7 X5 d, K% c
1 \+ }* `* K! @! QThe 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随你的便。 ; Z/ f7 j+ W" T$ ]# U 9 \. e; D# W; W' f, ~. Z# Xinb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器3 r% z! {: Y/ f) [: D
" p, g4 ]8 b: q5 t5 R