dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Color4f.this
Dgame
Graphic
Color
Color4f
CTor Expect that every component is in range 0.0 .. 1.0
this
(ubyte red, ubyte green, ubyte blue, ubyte alpha)
this
(float red, float green, float blue, float alpha)
struct
Color4f
@
nogc
pure nothrow
this
(
float
red
,
float
green
,
float
blue
,
float
alpha
= 1
)
this
(Color4b col)
Meta
Source
See Implementation
Dgame
Graphic
Color
Color4f
constructors
this
functions
asRGB
asRGBA
opEquals
mixins
__anonymous
variables
alpha
blue
green
red
CTor Expect that every component is in range 0.0 .. 1.0