7 @$ I) s/ M6 d" Y5 K% JCode:代码: ) H3 J! h$ A1 N9 E$ C0 \D3DCOLOR_XYUV : w) H; N3 D" L) @0 q. SD3DCOLOR_AYUV 8 o1 S2 U. t( I5 z" f7 bD3DCOLOR_ARGB$ b/ n, y& Y4 S3 E# R) f; Y0 Y
D3DCOLOR_RGBA : J. o& q5 F. M( I0 _- |5 PD3DCOLOR_XRGB/ q2 r6 b3 `" _( c
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.黑色是不可能做的注意,除非你重修改源。( ?0 |( n# [5 E% P
?1 P7 ?- l4 _2 t6 ]" S7 r
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随你的便。9 s; \8 |3 X/ L' I4 k
* v9 g6 P; U0 Z, H
inb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器 1 [4 ~* Y2 V! J: P7 m1 S 5 G9 X' [( A9 g, E6 [ ) J: I2 W4 h; M8 l8 r