util/Decal

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

Revision as of 02:12, 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.


Output:

"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