util/Decal

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 22: Line 22:
 
}}
 
}}
 
{{Example
 
{{Example
|Description=List of decal names.
+
|Description=List of decal names:
|Output="Antlion.Splat"
+
 
 +
"Antlion.Splat"
 
"BeerSplash"
 
"BeerSplash"
 
"BirdPoop"
 
"BirdPoop"

Revision as of 02:13, 19 June 2013

 util.Decal( )

Contents

Description

Performs a trace and paints a decal to the surface hit.

Arguments

string decalName

The name of the decal to paint.

Arguments

Vector traceStart

The start of the trace.

Arguments

Vector traceEnd

The end of the trace.

Examples

Example

List of decal names:

"Antlion.Splat" "BeerSplash" "BirdPoop" "Blood" "BulletProof" "Cross" "Dark" "ExplosiveGunshot" "Eye" "FadingScorch" "GlassBreak" "Impact.Antlion" "Impact.BloodyFlesh" "Impact.Concrete" "Impact.Glass" "Impact.Metal" "Impact.Sand" "Impact.Wood" "Light" "ManhackCut" "Nought" "Noughtsncrosses" "PaintSplatBlue" "PaintSplatGreen" "PaintSplatPink" "Scorch" "SmallScorch" "Smile" "Splash.Large" "YellowBlood"



Personal tools
Navigation