Color/SetUnpacked

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Description=Sets the r, g, b, and a of the color. {{NextUpdate}} |Realm=Shared |IsClass=Yes |Name=SetUnpacked |Parent=Color }} {{Arg |name=r |type=number }} {{Arg |na...")
 
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Description=Sets the r, g, b, and a of the color.
+
|Description=Sets the red, green, blue, and alpha of the color.
 
+
{{NextUpdate}}
+
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
|Name=SetUnpacked
 
|Parent=Color
 
 
}}
 
}}
 
{{Arg
 
{{Arg
|name=r
 
 
|type=number
 
|type=number
 +
|name=r
 +
|desc=The red component
 
}}
 
}}
 
{{Arg
 
{{Arg
|name=g
 
 
|type=number
 
|type=number
 +
|name=g
 +
|desc=The green component
 
}}
 
}}
 
{{Arg
 
{{Arg
|name=b
 
 
|type=number
 
|type=number
 +
|name=b
 +
|desc=The blue component
 
}}
 
}}
 
{{Arg
 
{{Arg
|name=a
 
 
|type=number
 
|type=number
 +
|name=a
 +
|desc=The alpha component
 
}}
 
}}

Latest revision as of 16:41, 12 November 2019

 Color:SetUnpacked( )

Contents

Description

Sets the red, green, blue, and alpha of the color.

Arguments

number r

The red component

Arguments

number g

The green component

Arguments

number b

The blue component

Arguments

number a

The alpha component
Personal tools
Navigation