Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
MultiplyRGBA()
static
Color
Terraria.Utils.MultiplyRGBA
(
this
Color
firstColor
,
Color
secondColor
)
inline
static
Definition at line
1401
of file
Utils.cs
.
1402
{
1403
return
new
Color
((
byte
)((
float
)(
firstColor
.R *
secondColor
.R) / 255f), (
byte
)((
float
)(
firstColor
.G *
secondColor
.G) / 255f), (
byte
)((
float
)(
firstColor
.B *
secondColor
.B) / 255f), (
byte
)((
float
)(
firstColor
.A *
secondColor
.A) / 255f));
1404
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
Microsoft.Xna.Framework.Graphics.SurfaceFormat.Color
@ Color
References
Microsoft.Xna.Framework.Graphics.Color
.
Terraria
Utils
Generated by
1.10.0