8 A" N& h+ Y1 K: ?4 y1 S; X7 @Code:代码: - |+ D8 F9 u) E7 K0 B7 ED3DCOLOR_XYUV $ O0 _1 ^2 ]3 s. y0 a& sD3DCOLOR_AYUV . i" }8 G) ^6 n( X4 WD3DCOLOR_ARGB ' U% t) y8 f/ ?3 q" Q% L qD3DCOLOR_RGBA $ z- g1 b( N. D! q( M, i/ i1 L$ zD3DCOLOR_XRGB( |6 Y) w: {/ I8 b F9 S- g* p
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.黑色是不可能做的注意,除非你重修改源。+ v* a+ F# M. d0 I" Q$ |6 c% c! c
7 {3 e6 r: Z" x2 c' {& k# N. h+ [
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随你的便。 1 i$ Q5 V O$ D: ` j& [+ |. h2 a! n+ Y6 ?3 q, R( w4 N% a
inb4 every nub server does this /ridi每一个关键inb4这/ ridi服务器7 k5 ^' w' N" N
* k1 F# p9 D+ @7 ]+ t% {$ ]