) K8 J1 Q$ n( L( R* ^Code:代码: 6 @$ ]/ Q/ h4 }& X8 `4 GD3DCOLOR_XYUV 6 X: ]9 Y2 y7 ?2 k6 d" a( w) c' SD3DCOLOR_AYUV * I4 t4 j4 C5 Z+ \4 y" T) e5 cD3DCOLOR_ARGB# f0 k, a# |' h; R1 w
D3DCOLOR_RGBA; j7 b9 P0 G# _ V% d
D3DCOLOR_XRGB. K( Y: t2 d" _
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 t7 t. j4 o; }. i+ K y1 K ) B5 i+ P/ k. `- |( `; k1 I! E5 l* YThe 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随你的便。! \ u! t( k; ~! K1 [
$ g+ y% w; `4 W9 {
inb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器" U; v4 q0 F; i4 `. K8 T4 r
. F4 q4 n% z; t8 c& V
& u0 A$ ~$ A; E4 G P* R