ProjectedTexture/SetColor

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(link to Color Structure rather than Color function)
 
Line 11: Line 11:
 
|desc=Must be a {{Struct|Color}}.
 
|desc=Must be a {{Struct|Color}}.
  
Unlike other projected textures, this color can only go up to 255. Therefore, for the time being, you can't make the projection brighter than normal.
+
Unlike other projected textures, this color can only go up to 255.
 
}}
 
}}

Latest revision as of 08:50, 29 March 2016

 ProjectedTexture:SetColor( )

Description

Sets the color of the projected texture.

You must call ProjectedTexture:Update after using this function for it to take effect.

Arguments

table color

Must be a Color structure.

Unlike other projected textures, this color can only go up to 255.
Personal tools
Navigation