util/Decal

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 20: Line 20:
 
|name=traceEnd
 
|name=traceEnd
 
|desc=The end of the trace.
 
|desc=The end of the trace.
}}
 
{{Example
 
|Description=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"
 
 
}}
 
}}

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.
Personal tools
Navigation