Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
buffColor()
static
Color
Terraria.NPC.buffColor
(
Color
newColor
,
float
R
,
float
G
,
float
B
,
float
A
)
inline
static
Definition at line
87765
of file
NPC.cs
.
87766
{
87767
newColor.R = (byte)((
float
)(int)
newColor
.R *
R
);
87768
newColor.G = (byte)((
float
)(int)
newColor
.G *
G
);
87769
newColor.B = (byte)((
float
)(int)
newColor
.B *
B
);
87770
newColor.A = (byte)((
float
)(int)
newColor
.A *
A
);
87771
return
newColor
;
87772
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ConsoleKey.A
@ A
System.ConsoleKey.B
@ B
System.ConsoleKey.G
@ G
System.ConsoleKey.R
@ R
References
System.A
,
System.B
,
System.G
, and
System.R
.
Terraria
NPC
Generated by
1.10.0