6 U8 f1 Z# V, _ H" y0 n) H5 d# jCode:代码:6 u4 S1 a2 H8 D0 V: M0 i
D3DCOLOR_XYUV {8 @' Y+ k# v( m& ~, dD3DCOLOR_AYUV 1 c* _0 @, u4 k% t9 Q( iD3DCOLOR_ARGB - ]9 b. |' E% Z- a8 JD3DCOLOR_RGBA6 k8 g' H1 p- q7 R! @, Q+ o
D3DCOLOR_XRGB " T+ c* Q, A3 e$ VD3DCOLOR_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.黑色是不可能做的注意,除非你重修改源。 . i" M. g4 A# m2 w' I ! f" [: ~1 [% a6 \, MThe 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随你的便。 7 M( S$ [: N, l# ^0 c% I8 x % ]" ~& C, y" z- I$ n1 p7 r1 jinb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器4 K0 X; z$ A) s9 c1 N/ I4 V2 `
5 K$ U: b6 H' H) U