Global/ParticleEmitter

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
{{Func
 
{{Func
 
|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}}
 
|Realm=Client
 
|Realm=Client
 
|IsClass=No
 
|IsClass=No

Revision as of 23:34, 31 August 2016

 ParticleEmitter( )

Contents

Description

Creates a new CLuaEmitter.

NOTE

Do not forget to delete the emitter with CLuaEmitter:Finish one 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