util/Decal

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=Decal |Parent=util |Description=Performs a trace and paints a decal to the surface hit. |Realm=Shared |IsClass=No }} {{Arg |type=string |name=decalName |...")
 
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.
 +
|Code="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: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.

"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