util/Decal

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(The filter can also be a table)
Line 22: Line 22:
 
|type=Entity
 
|type=Entity
 
|name=filter
 
|name=filter
|desc={{NextUpdate}}
+
|desc=If set, the decal will not be able to be placed on given entity. Can also be a table of entities.
 
+
If set, the decal will not be able to be placed on given entity. Can also be a table of entities.
+
 
|default=NULL
 
|default=NULL
 
}}
 
}}

Revision as of 13:42, 18 April 2017

 util.Decal( )

Contents

Description

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

Arguments

string name

The name of the decal to paint.

Arguments

Vector start

The start of the trace.

Arguments

Vector end

The end of the trace.

Arguments

Entity filter=NULL

If set, the decal will not be able to be placed on given entity. Can also be a table of entities.
Personal tools
Navigation