Garry's Mod Wiki

CLuaEmitter:SetNearClip

void CLuaEmitter:SetNearClip( number distanceMin, number distanceMax )

Description

This function sets the the distance between the render camera and the emitter at which the particles should start fading and at which distance fade ends ( alpha becomes 0 ).

Arguments

1 number distanceMin
Min distance where the alpha becomes 0.
2 number distanceMax
Max distance where the alpha starts fading.

Page Links


Special Pages


Wikis

?

Render Time: 26ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 6