& {+ I0 F* x! X; ICode:代码: 2 {9 ^& n- |* J% p7 a# ~. CD3DCOLOR_XYUV3 d# d, T! d, V
D3DCOLOR_AYUV . i% u' L6 B/ lD3DCOLOR_ARGB * ~3 w5 q5 m% \D3DCOLOR_RGBA0 w( S' V1 s7 H% E( D$ d5 W* d
D3DCOLOR_XRGB6 I* `# @ k0 H& w0 |$ G4 C$ u
D3DCOLOR_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.黑色是不可能做的注意,除非你重修改源。2 }- b6 l; Z, \. C' J. @
# v* E; H4 q3 ]$ P4 U5 @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随你的便。" _8 }0 P$ F9 y+ g1 t
. Q& K2 Q; U: x5 Z5 Y
inb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器 9 Q) P2 A' F" F. K ) ^; K: l' L; j8 N # p! H3 U5 S# j; E7 P