Global/ParticleEmitter

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (one -> once)
Line 2: Line 2:
 
|Description=Creates a new {{Type|CLuaEmitter}}.
 
|Description=Creates a new {{Type|CLuaEmitter}}.
  
{{Note|Do not forget to delete the emitter with {{ClassFunction|CLuaEmitter|Finish}} one you are done with it}}
+
{{Note|Do not forget to delete the emitter with {{ClassFunction|CLuaEmitter|Finish}} once you are done with it}}
 
|Realm=Client
 
|Realm=Client
 
|IsClass=No
 
|IsClass=No

Revision as of 07:47, 1 September 2016

 ParticleEmitter( )

Contents

Description

Creates a new CLuaEmitter.

NOTE

Do not forget to delete the emitter with CLuaEmitter:Finish once you are done with it

Arguments

Vector position

The start position of the emitter.

This is only used to determine particle drawing order for translucent particles.

Arguments

boolean use3D

Whenever to render the particles in 2D or 3D mode.

Returns

CLuaEmitter

The new particle emitter.
Personal tools
Navigation