@tlua/gmod 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/achievementicon.d.tlua +0 -1
- package/types/achievements.d.tlua +0 -31
- package/types/ai.d.tlua +0 -11
- package/types/ai_schedule.d.tlua +0 -1
- package/types/ai_task.d.tlua +0 -1
- package/types/angle.d.tlua +0 -37
- package/types/avatarimage.d.tlua +0 -1
- package/types/awesomium.d.tlua +0 -1
- package/types/baseclass.d.tlua +0 -4
- package/types/bf_read.d.tlua +0 -23
- package/types/bit.d.tlua +0 -23
- package/types/button.d.tlua +0 -1
- package/types/cam.d.tlua +0 -33
- package/types/ceffectdata.d.tlua +0 -65
- package/types/chat.d.tlua +0 -11
- package/types/checkbutton.d.tlua +0 -1
- package/types/cleanup.d.tlua +0 -15
- package/types/cluaemitter.d.tlua +0 -25
- package/types/clualocomotion.d.tlua +0 -81
- package/types/cluaparticle.d.tlua +0 -89
- package/types/cmovedata.d.tlua +0 -95
- package/types/cnavarea.d.tlua +0 -155
- package/types/cnavladder.d.tlua +0 -45
- package/types/cnewparticleeffect.d.tlua +0 -53
- package/types/color.d.tlua +0 -57
- package/types/concommand.d.tlua +0 -9
- package/types/constraint.d.tlua +0 -57
- package/types/construct.d.tlua +0 -3
- package/types/contentheader.d.tlua +1 -6
- package/types/contenticon.d.tlua +1 -18
- package/types/contentsidebar.d.tlua +1 -8
- package/types/contentsidebartoolbox.d.tlua +0 -1
- package/types/contextbase.d.tlua +1 -8
- package/types/controlpanel.d.tlua +6 -31
- package/types/controlpresets.d.tlua +1 -26
- package/types/convar.d.tlua +0 -33
- package/types/cookie.d.tlua +0 -7
- package/types/coroutine.d.tlua +0 -15
- package/types/crecipientfilter.d.tlua +0 -33
- package/types/csent.d.tlua +0 -1
- package/types/csoundpatch.d.tlua +0 -29
- package/types/ctakedamageinfo.d.tlua +0 -67
- package/types/ctrllistbox.d.tlua +0 -1
- package/types/ctrlnumpad.d.tlua +0 -13
- package/types/cusercmd.d.tlua +0 -55
- package/types/custom_entity_fields.d.tlua +0 -1
- package/types/cvars.d.tlua +0 -13
- package/types/dadjustablemodelpanel.d.tlua +1 -14
- package/types/dalphabar.d.tlua +1 -6
- package/types/dbinder.d.tlua +1 -8
- package/types/dbubblecontainer.d.tlua +1 -4
- package/types/dbutton.d.tlua +1 -16
- package/types/dcategoryheader.d.tlua +0 -1
- package/types/dcategorylist.d.tlua +0 -1
- package/types/dcheckbox.d.tlua +1 -10
- package/types/dcheckboxlabel.d.tlua +0 -19
- package/types/dcollapsiblecategory.d.tlua +1 -46
- package/types/dcolorbutton.d.tlua +1 -14
- package/types/dcolorcombo.d.tlua +1 -10
- package/types/dcolorcube.d.tlua +1 -26
- package/types/dcolormixer.d.tlua +1 -54
- package/types/dcolorpalette.d.tlua +1 -46
- package/types/dcolumnsheet.d.tlua +1 -10
- package/types/dcombobox.d.tlua +1 -34
- package/types/ddragbase.d.tlua +1 -26
- package/types/ddrawer.d.tlua +1 -16
- package/types/debug.d.tlua +25 -60
- package/types/debugoverlay.d.tlua +0 -23
- package/types/dentityproperties.d.tlua +1 -10
- package/types/derma.d.tlua +0 -21
- package/types/dexpandbutton.d.tlua +1 -6
- package/types/dfilebrowser.d.tlua +0 -41
- package/types/dform.d.tlua +1 -36
- package/types/dframe.d.tlua +0 -49
- package/types/dgrid.d.tlua +1 -22
- package/types/dhorizontaldivider.d.tlua +1 -40
- package/types/dhorizontalscroller.d.tlua +1 -22
- package/types/dhscrollbar.d.tlua +1 -22
- package/types/dhtml.d.tlua +1 -16
- package/types/dhtmlcontrols.d.tlua +0 -11
- package/types/diconbrowser.d.tlua +1 -22
- package/types/diconlayout.d.tlua +1 -36
- package/types/dimage.d.tlua +1 -39
- package/types/dimagebutton.d.tlua +0 -19
- package/types/dkillicon.d.tlua +0 -1
- package/types/dlabel.d.tlua +1 -66
- package/types/dlabeleditable.d.tlua +1 -10
- package/types/dlabelurl.d.tlua +1 -20
- package/types/dlistbox.d.tlua +1 -16
- package/types/dlistboxitem.d.tlua +1 -8
- package/types/dlistlayout.d.tlua +0 -1
- package/types/dlistview.d.tlua +1 -68
- package/types/dlistview_column.d.tlua +1 -28
- package/types/dlistview_columnplain.d.tlua +0 -1
- package/types/dlistview_draggerbar.d.tlua +0 -1
- package/types/dlistview_line.d.tlua +1 -26
- package/types/dlistviewheaderlabel.d.tlua +0 -1
- package/types/dlistviewlabel.d.tlua +0 -1
- package/types/dlistviewline.d.tlua +0 -1
- package/types/dmenu.d.tlua +1 -53
- package/types/dmenubar.d.tlua +1 -11
- package/types/dmenuoption.d.tlua +1 -26
- package/types/dmenuoptioncvar.d.tlua +1 -12
- package/types/dmodelpanel.d.tlua +1 -44
- package/types/dmodelselect.d.tlua +1 -4
- package/types/dmodelselectmulti.d.tlua +1 -4
- package/types/dnotify.d.tlua +1 -20
- package/types/dnumberscratch.d.tlua +1 -52
- package/types/dnumberwang.d.tlua +1 -32
- package/types/dnumpad.d.tlua +0 -1
- package/types/dnumslider.d.tlua +0 -35
- package/types/dpanel.d.tlua +1 -28
- package/types/dpanellist.d.tlua +0 -23
- package/types/dpaneloverlay.d.tlua +1 -14
- package/types/dpanelselect.d.tlua +0 -1
- package/types/dpanpanel.d.tlua +1 -12
- package/types/dprogress.d.tlua +1 -6
- package/types/dproperties.d.tlua +1 -8
- package/types/dproperty_boolean.d.tlua +0 -1
- package/types/dproperty_combo.d.tlua +1 -6
- package/types/dproperty_entity.d.tlua +0 -1
- package/types/dproperty_float.d.tlua +0 -1
- package/types/dproperty_generic.d.tlua +1 -10
- package/types/dproperty_int.d.tlua +0 -1
- package/types/dproperty_vectorcolor.d.tlua +0 -1
- package/types/dpropertysheet.d.tlua +9 -41
- package/types/dragndrop.d.tlua +0 -21
- package/types/draw.d.tlua +0 -22
- package/types/drgbpicker.d.tlua +1 -8
- package/types/drive.d.tlua +6 -31
- package/types/dscrollbargrip.d.tlua +0 -1
- package/types/dscrollpanel.d.tlua +0 -21
- package/types/dshape.d.tlua +1 -14
- package/types/dsizetocontents.d.tlua +1 -10
- package/types/dslider.d.tlua +1 -56
- package/types/dsprite.d.tlua +1 -18
- package/types/dtab.d.tlua +1 -16
- package/types/dtextentry.d.tlua +1 -86
- package/types/dtilelayout.d.tlua +1 -42
- package/types/dtooltip.d.tlua +1 -12
- package/types/dtree.d.tlua +1 -32
- package/types/dtree_node.d.tlua +1 -136
- package/types/dtree_node_button.d.tlua +0 -1
- package/types/duplicator.d.tlua +0 -60
- package/types/dverticaldivider.d.tlua +1 -46
- package/types/dvscrollbar.d.tlua +1 -22
- package/types/editablepanel.d.tlua +0 -1
- package/types/effect.d.tlua +1 -8
- package/types/effects.d.tlua +0 -13
- package/types/engine.d.tlua +0 -43
- package/types/entity.d.tlua +2 -1319
- package/types/ents.d.tlua +0 -44
- package/types/enums.d.tlua +0 -1
- package/types/file.d.tlua +0 -79
- package/types/file_class.d.tlua +0 -1
- package/types/fingerposer.d.tlua +0 -1
- package/types/fingervar.d.tlua +0 -1
- package/types/frame.d.tlua +0 -1
- package/types/frame_blend.d.tlua +0 -15
- package/types/game.d.tlua +0 -79
- package/types/gameevent.d.tlua +4 -9
- package/types/gamemode.d.tlua +0 -6
- package/types/global.d.tlua +0 -18
- package/types/gm.d.tlua +0 -535
- package/types/gmod.d.tlua +0 -1
- package/types/gmsave.d.tlua +0 -9
- package/types/gui.d.tlua +0 -43
- package/types/gwen.d.tlua +0 -7
- package/types/halo.d.tlua +0 -5
- package/types/hammer.d.tlua +0 -1
- package/types/hook.d.tlua +0 -9
- package/types/html.d.tlua +0 -1
- package/types/http.d.tlua +0 -3
- package/types/iconeditor.d.tlua +1 -22
- package/types/igmodaudiochannel.d.tlua +0 -83
- package/types/imagecheckbox.d.tlua +1 -8
- package/types/imaterial.d.tlua +0 -53
- package/types/imesh.d.tlua +0 -11
- package/types/input.d.tlua +0 -47
- package/types/invalidateinternalentitycache.d.tlua +0 -1
- package/types/irestore.d.tlua +0 -19
- package/types/isave.d.tlua +0 -19
- package/types/itexture.d.tlua +0 -21
- package/types/ivideowriter.d.tlua +0 -11
- package/types/jit.d.tlua +9 -42
- package/types/killicon.d.tlua +0 -15
- package/types/label.d.tlua +0 -1
- package/types/language.d.tlua +0 -3
- package/types/list.d.tlua +0 -17
- package/types/makeballoon.d.tlua +0 -1
- package/types/markup.d.tlua +0 -5
- package/types/markupobject.d.tlua +0 -11
- package/types/material.d.tlua +0 -1
- package/types/math.d.tlua +200 -371
- package/types/matproxy.d.tlua +0 -7
- package/types/matselect.d.tlua +1 -22
- package/types/menu.d.tlua +0 -1
- package/types/menubar.d.tlua +0 -5
- package/types/mesh.d.tlua +0 -39
- package/types/modelimage.d.tlua +0 -1
- package/types/motionsensor.d.tlua +0 -21
- package/types/navmesh.d.tlua +0 -53
- package/types/net.d.tlua +0 -104
- package/types/nextbot.d.tlua +10 -83
- package/types/notification.d.tlua +0 -5
- package/types/npc.d.tlua +1 -364
- package/types/numpad.d.tlua +0 -15
- package/types/os.d.tlua +0 -8
- package/types/package.d.tlua +0 -1
- package/types/panel.d.tlua +2 -662
- package/types/panellist.d.tlua +0 -1
- package/types/pathfollower.d.tlua +0 -63
- package/types/permissions.d.tlua +0 -13
- package/types/physcollide.d.tlua +0 -7
- package/types/physenv.d.tlua +0 -23
- package/types/physobj.d.tlua +0 -157
- package/types/pixelvis_handle_t.d.tlua +0 -1
- package/types/player.d.tlua +11 -594
- package/types/player_manager.d.tlua +0 -27
- package/types/preseteditor.d.tlua +0 -1
- package/types/presets.d.tlua +0 -13
- package/types/projectedtexture.d.tlua +0 -97
- package/types/properties.d.tlua +0 -11
- package/types/propselect.d.tlua +1 -10
- package/types/radiobutton.d.tlua +0 -1
- package/types/render.d.tlua +0 -285
- package/types/resource.d.tlua +0 -5
- package/types/richtext.d.tlua +0 -1
- package/types/sandbox.d.tlua +1 -108
- package/types/saverestore.d.tlua +0 -25
- package/types/schedule.d.tlua +0 -13
- package/types/scripted_ents.d.tlua +0 -21
- package/types/search.d.tlua +0 -3
- package/types/serverlist.d.tlua +0 -15
- package/types/slidebar.d.tlua +0 -1
- package/types/slider.d.tlua +0 -1
- package/types/sound.d.tlua +0 -21
- package/types/spawnicon.d.tlua +1 -16
- package/types/spawnmenu.d.tlua +0 -48
- package/types/spawnmenucontentpanel.d.tlua +1 -10
- package/types/sql.d.tlua +0 -19
- package/types/stack.d.tlua +0 -11
- package/types/steamworks.d.tlua +0 -37
- package/types/string.d.tlua +0 -96
- package/types/structures.d.tlua +0 -7
- package/types/surface.d.tlua +0 -69
- package/types/surfaceinfo.d.tlua +0 -11
- package/types/system.d.tlua +0 -21
- package/types/table.d.tlua +0 -93
- package/types/task.d.tlua +0 -19
- package/types/team.d.tlua +0 -39
- package/types/textentry.d.tlua +0 -1
- package/types/tgaimage.d.tlua +0 -1
- package/types/timer.d.tlua +0 -29
- package/types/tool.d.tlua +1 -90
- package/types/ugcpublishwindow.d.tlua +1 -18
- package/types/umsg.d.tlua +0 -25
- package/types/undo.d.tlua +0 -21
- package/types/urllabel.d.tlua +0 -1
- package/types/usermessage.d.tlua +0 -5
- package/types/utf8.d.tlua +0 -15
- package/types/util.d.tlua +0 -185
- package/types/vector.d.tlua +0 -73
- package/types/vehicle.d.tlua +2 -102
- package/types/vgui.d.tlua +0 -33
- package/types/video.d.tlua +0 -1
- package/types/vmatrix.d.tlua +0 -71
- package/types/weapon.d.tlua +2 -168
- package/types/weapons.d.tlua +0 -12
- package/types/widgets.d.tlua +0 -3
- package/types/workshopfilebase.d.tlua +0 -11
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* List of all possible functions available for Lua particles. This is the object returned by the [CLuaEmitter:Add](https://wiki.facepunch.com/gmod/CLuaEmitter:Add) function.
|
|
5
5
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle
|
|
6
6
|
*/
|
|
7
|
-
interface CLuaParticle {}
|
|
8
|
-
|
|
9
7
|
interface CLuaParticle {
|
|
10
8
|
/**
|
|
11
9
|
* Returns the air resistance of the particle.
|
|
@@ -13,90 +11,70 @@ interface CLuaParticle {
|
|
|
13
11
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetAirResistance
|
|
14
12
|
*/
|
|
15
13
|
GetAirResistance(self: CLuaParticle): number;
|
|
16
|
-
}
|
|
17
14
|
|
|
18
|
-
interface CLuaParticle {
|
|
19
15
|
/**
|
|
20
16
|
* Returns the angular velocity of the particle
|
|
21
17
|
* @realm client
|
|
22
18
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetAngleVelocity
|
|
23
19
|
*/
|
|
24
20
|
GetAngleVelocity(self: CLuaParticle): Angle;
|
|
25
|
-
}
|
|
26
21
|
|
|
27
|
-
interface CLuaParticle {
|
|
28
22
|
/**
|
|
29
23
|
* Returns the current orientation of the particle.
|
|
30
24
|
* @realm client
|
|
31
25
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetAngles
|
|
32
26
|
*/
|
|
33
27
|
GetAngles(self: CLuaParticle): Angle;
|
|
34
|
-
}
|
|
35
28
|
|
|
36
|
-
interface CLuaParticle {
|
|
37
29
|
/**
|
|
38
30
|
* Returns the 'bounciness' of the particle.
|
|
39
31
|
* @realm client
|
|
40
32
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetBounce
|
|
41
33
|
*/
|
|
42
34
|
GetBounce(self: CLuaParticle): number;
|
|
43
|
-
}
|
|
44
35
|
|
|
45
|
-
interface CLuaParticle {
|
|
46
36
|
/**
|
|
47
37
|
* Returns the color of the particle.
|
|
48
38
|
* @realm client
|
|
49
39
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetColor
|
|
50
40
|
*/
|
|
51
41
|
GetColor(self: CLuaParticle): (number, number, number);
|
|
52
|
-
}
|
|
53
42
|
|
|
54
|
-
interface CLuaParticle {
|
|
55
43
|
/**
|
|
56
44
|
* Returns the amount of time in seconds after which the particle will be destroyed.
|
|
57
45
|
* @realm client
|
|
58
46
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetDieTime
|
|
59
47
|
*/
|
|
60
48
|
GetDieTime(self: CLuaParticle): number;
|
|
61
|
-
}
|
|
62
49
|
|
|
63
|
-
interface CLuaParticle {
|
|
64
50
|
/**
|
|
65
51
|
* Returns the alpha value that the particle will reach on its death.
|
|
66
52
|
* @realm client
|
|
67
53
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetEndAlpha
|
|
68
54
|
*/
|
|
69
55
|
GetEndAlpha(self: CLuaParticle): number;
|
|
70
|
-
}
|
|
71
56
|
|
|
72
|
-
interface CLuaParticle {
|
|
73
57
|
/**
|
|
74
58
|
* Returns the length that the particle will reach on its death.
|
|
75
59
|
* @realm client
|
|
76
60
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetEndLength
|
|
77
61
|
*/
|
|
78
62
|
GetEndLength(self: CLuaParticle): number;
|
|
79
|
-
}
|
|
80
63
|
|
|
81
|
-
interface CLuaParticle {
|
|
82
64
|
/**
|
|
83
65
|
* Returns the size that the particle will reach on its death.
|
|
84
66
|
* @realm client
|
|
85
67
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetEndSize
|
|
86
68
|
*/
|
|
87
69
|
GetEndSize(self: CLuaParticle): number;
|
|
88
|
-
}
|
|
89
70
|
|
|
90
|
-
interface CLuaParticle {
|
|
91
71
|
/**
|
|
92
72
|
* Returns the gravity of the particle.
|
|
93
73
|
* @realm client
|
|
94
74
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetGravity
|
|
95
75
|
*/
|
|
96
76
|
GetGravity(self: CLuaParticle): Vector;
|
|
97
|
-
}
|
|
98
77
|
|
|
99
|
-
interface CLuaParticle {
|
|
100
78
|
/**
|
|
101
79
|
* Returns the 'life time' of the particle, how long the particle existed since its creation.
|
|
102
80
|
*
|
|
@@ -114,189 +92,147 @@ interface CLuaParticle {
|
|
|
114
92
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetLifeTime
|
|
115
93
|
*/
|
|
116
94
|
GetLifeTime(self: CLuaParticle): number;
|
|
117
|
-
}
|
|
118
95
|
|
|
119
|
-
interface CLuaParticle {
|
|
120
96
|
/**
|
|
121
97
|
* Returns the current material of the particle.
|
|
122
98
|
* @realm client
|
|
123
99
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetMaterial
|
|
124
100
|
*/
|
|
125
101
|
GetMaterial(self: CLuaParticle): IMaterial;
|
|
126
|
-
}
|
|
127
102
|
|
|
128
|
-
interface CLuaParticle {
|
|
129
103
|
/**
|
|
130
104
|
* Returns the absolute position of the particle.
|
|
131
105
|
* @realm client
|
|
132
106
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetPos
|
|
133
107
|
*/
|
|
134
108
|
GetPos(self: CLuaParticle): Vector;
|
|
135
|
-
}
|
|
136
109
|
|
|
137
|
-
interface CLuaParticle {
|
|
138
110
|
/**
|
|
139
111
|
* Returns the current rotation of the particle in radians, this should only be used for 2D particles.
|
|
140
112
|
* @realm client
|
|
141
113
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetRoll
|
|
142
114
|
*/
|
|
143
115
|
GetRoll(self: CLuaParticle): number;
|
|
144
|
-
}
|
|
145
116
|
|
|
146
|
-
interface CLuaParticle {
|
|
147
117
|
/**
|
|
148
118
|
* Returns the current rotation speed of the particle in radians, this should only be used for 2D particles.
|
|
149
119
|
* @realm client
|
|
150
120
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetRollDelta
|
|
151
121
|
*/
|
|
152
122
|
GetRollDelta(self: CLuaParticle): number;
|
|
153
|
-
}
|
|
154
123
|
|
|
155
|
-
interface CLuaParticle {
|
|
156
124
|
/**
|
|
157
125
|
* Returns the alpha value which the particle has when it's created.
|
|
158
126
|
* @realm client
|
|
159
127
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetStartAlpha
|
|
160
128
|
*/
|
|
161
129
|
GetStartAlpha(self: CLuaParticle): number;
|
|
162
|
-
}
|
|
163
130
|
|
|
164
|
-
interface CLuaParticle {
|
|
165
131
|
/**
|
|
166
132
|
* Returns the length which the particle has when it's created.
|
|
167
133
|
* @realm client
|
|
168
134
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetStartLength
|
|
169
135
|
*/
|
|
170
136
|
GetStartLength(self: CLuaParticle): number;
|
|
171
|
-
}
|
|
172
137
|
|
|
173
|
-
interface CLuaParticle {
|
|
174
138
|
/**
|
|
175
139
|
* Returns the size which the particle has when it's created.
|
|
176
140
|
* @realm client
|
|
177
141
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetStartSize
|
|
178
142
|
*/
|
|
179
143
|
GetStartSize(self: CLuaParticle): number;
|
|
180
|
-
}
|
|
181
144
|
|
|
182
|
-
interface CLuaParticle {
|
|
183
145
|
/**
|
|
184
146
|
* Returns the current velocity of the particle.
|
|
185
147
|
* @realm client
|
|
186
148
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetVelocity
|
|
187
149
|
*/
|
|
188
150
|
GetVelocity(self: CLuaParticle): Vector;
|
|
189
|
-
}
|
|
190
151
|
|
|
191
|
-
interface CLuaParticle {
|
|
192
152
|
/**
|
|
193
153
|
* Sets the air resistance of the the particle.
|
|
194
154
|
* @realm client
|
|
195
155
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetAirResistance
|
|
196
156
|
*/
|
|
197
157
|
SetAirResistance(self: CLuaParticle, airResistance: number): void;
|
|
198
|
-
}
|
|
199
158
|
|
|
200
|
-
interface CLuaParticle {
|
|
201
159
|
/**
|
|
202
160
|
* Sets the angular velocity of the the particle.
|
|
203
161
|
* @realm client
|
|
204
162
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetAngleVelocity
|
|
205
163
|
*/
|
|
206
164
|
SetAngleVelocity(self: CLuaParticle, angVel: Angle): void;
|
|
207
|
-
}
|
|
208
165
|
|
|
209
|
-
interface CLuaParticle {
|
|
210
166
|
/**
|
|
211
167
|
* Sets the angles of the particle.
|
|
212
168
|
* @realm client
|
|
213
169
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetAngles
|
|
214
170
|
*/
|
|
215
171
|
SetAngles(self: CLuaParticle, ang: Angle): void;
|
|
216
|
-
}
|
|
217
172
|
|
|
218
|
-
interface CLuaParticle {
|
|
219
173
|
/**
|
|
220
174
|
* Sets the 'bounciness' of the the particle.
|
|
221
175
|
* @realm client
|
|
222
176
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetBounce
|
|
223
177
|
*/
|
|
224
178
|
SetBounce(self: CLuaParticle, bounce: number): void;
|
|
225
|
-
}
|
|
226
179
|
|
|
227
|
-
interface CLuaParticle {
|
|
228
180
|
/**
|
|
229
181
|
* Sets the whether the particle should collide with the world or not.
|
|
230
182
|
* @realm client
|
|
231
183
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetCollide
|
|
232
184
|
*/
|
|
233
185
|
SetCollide(self: CLuaParticle, shouldCollide: boolean): void;
|
|
234
|
-
}
|
|
235
186
|
|
|
236
|
-
interface CLuaParticle {
|
|
237
187
|
/**
|
|
238
188
|
* Sets the function that gets called whenever the particle collides with the world.
|
|
239
189
|
* @realm client
|
|
240
190
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetCollideCallback
|
|
241
191
|
*/
|
|
242
192
|
SetCollideCallback(self: CLuaParticle, collideFunc: (particle: CLuaParticle, hitPos: Vector, hitNormal: Vector) => void): void;
|
|
243
|
-
}
|
|
244
193
|
|
|
245
|
-
interface CLuaParticle {
|
|
246
194
|
/**
|
|
247
195
|
* Sets the color of the particle.
|
|
248
196
|
* @realm client
|
|
249
197
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetColor
|
|
250
198
|
*/
|
|
251
199
|
SetColor(self: CLuaParticle, r: number, g: number, b: number): void;
|
|
252
|
-
}
|
|
253
200
|
|
|
254
|
-
interface CLuaParticle {
|
|
255
201
|
/**
|
|
256
202
|
* Sets the time where the particle will be removed.
|
|
257
203
|
* @realm client
|
|
258
204
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetDieTime
|
|
259
205
|
*/
|
|
260
206
|
SetDieTime(self: CLuaParticle, dieTime: number): void;
|
|
261
|
-
}
|
|
262
207
|
|
|
263
|
-
interface CLuaParticle {
|
|
264
208
|
/**
|
|
265
209
|
* Sets the alpha value of the particle that it will reach when it dies.
|
|
266
210
|
* @realm client
|
|
267
211
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetEndAlpha
|
|
268
212
|
*/
|
|
269
213
|
SetEndAlpha(self: CLuaParticle, endAlpha: number): void;
|
|
270
|
-
}
|
|
271
214
|
|
|
272
|
-
interface CLuaParticle {
|
|
273
215
|
/**
|
|
274
216
|
* Sets the length of the particle that it will reach when it dies.
|
|
275
217
|
* @realm client
|
|
276
218
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetEndLength
|
|
277
219
|
*/
|
|
278
220
|
SetEndLength(self: CLuaParticle, endLength: number): void;
|
|
279
|
-
}
|
|
280
221
|
|
|
281
|
-
interface CLuaParticle {
|
|
282
222
|
/**
|
|
283
223
|
* Sets the size of the particle that it will reach when it dies.
|
|
284
224
|
* @realm client
|
|
285
225
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetEndSize
|
|
286
226
|
*/
|
|
287
227
|
SetEndSize(self: CLuaParticle, endSize: number): void;
|
|
288
|
-
}
|
|
289
228
|
|
|
290
|
-
interface CLuaParticle {
|
|
291
229
|
/**
|
|
292
230
|
* Sets the directional gravity aka. acceleration of the particle.
|
|
293
231
|
* @realm client
|
|
294
232
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetGravity
|
|
295
233
|
*/
|
|
296
234
|
SetGravity(self: CLuaParticle, gravity: Vector): void;
|
|
297
|
-
}
|
|
298
235
|
|
|
299
|
-
interface CLuaParticle {
|
|
300
236
|
/**
|
|
301
237
|
* Sets the 'life time' of the particle, how long the particle existed since its creation.
|
|
302
238
|
*
|
|
@@ -312,108 +248,84 @@ interface CLuaParticle {
|
|
|
312
248
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetLifeTime
|
|
313
249
|
*/
|
|
314
250
|
SetLifeTime(self: CLuaParticle, lifeTime: number): void;
|
|
315
|
-
}
|
|
316
251
|
|
|
317
|
-
interface CLuaParticle {
|
|
318
252
|
/**
|
|
319
253
|
* Sets whether the particle should be affected by lighting.
|
|
320
254
|
* @realm client
|
|
321
255
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetLighting
|
|
322
256
|
*/
|
|
323
257
|
SetLighting(self: CLuaParticle, useLighting: boolean): void;
|
|
324
|
-
}
|
|
325
258
|
|
|
326
|
-
interface CLuaParticle {
|
|
327
259
|
/**
|
|
328
260
|
* Sets the material of the particle.
|
|
329
261
|
* @realm client
|
|
330
262
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetMaterial
|
|
331
263
|
*/
|
|
332
264
|
SetMaterial(self: CLuaParticle, mat: IMaterial): void;
|
|
333
|
-
}
|
|
334
265
|
|
|
335
|
-
interface CLuaParticle {
|
|
336
266
|
/**
|
|
337
267
|
* Sets when the particles think function should be called next, this uses the synchronized server time returned by [Global.CurTime](https://wiki.facepunch.com/gmod/Global.CurTime).
|
|
338
268
|
* @realm client
|
|
339
269
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetNextThink
|
|
340
270
|
*/
|
|
341
271
|
SetNextThink(self: CLuaParticle, nextThink: number): void;
|
|
342
|
-
}
|
|
343
272
|
|
|
344
|
-
interface CLuaParticle {
|
|
345
273
|
/**
|
|
346
274
|
* Sets the absolute position of the particle.
|
|
347
275
|
* @realm client
|
|
348
276
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetPos
|
|
349
277
|
*/
|
|
350
278
|
SetPos(self: CLuaParticle, pos: Vector): void;
|
|
351
|
-
}
|
|
352
279
|
|
|
353
|
-
interface CLuaParticle {
|
|
354
280
|
/**
|
|
355
281
|
* Sets the roll of the particle in radians. This should only be used for 2D particles.
|
|
356
282
|
* @realm client
|
|
357
283
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetRoll
|
|
358
284
|
*/
|
|
359
285
|
SetRoll(self: CLuaParticle, roll: number): void;
|
|
360
|
-
}
|
|
361
286
|
|
|
362
|
-
interface CLuaParticle {
|
|
363
287
|
/**
|
|
364
288
|
* Sets the rotation speed of the particle in radians. This should only be used for 2D particles.
|
|
365
289
|
* @realm client
|
|
366
290
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetRollDelta
|
|
367
291
|
*/
|
|
368
292
|
SetRollDelta(self: CLuaParticle, rollDelta: number): void;
|
|
369
|
-
}
|
|
370
293
|
|
|
371
|
-
interface CLuaParticle {
|
|
372
294
|
/**
|
|
373
295
|
* Sets the initial alpha value of the particle.
|
|
374
296
|
* @realm client
|
|
375
297
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetStartAlpha
|
|
376
298
|
*/
|
|
377
299
|
SetStartAlpha(self: CLuaParticle, startAlpha: number): void;
|
|
378
|
-
}
|
|
379
300
|
|
|
380
|
-
interface CLuaParticle {
|
|
381
301
|
/**
|
|
382
302
|
* Sets the initial length value of the particle.
|
|
383
303
|
* @realm client
|
|
384
304
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetStartLength
|
|
385
305
|
*/
|
|
386
306
|
SetStartLength(self: CLuaParticle, startLength: number): void;
|
|
387
|
-
}
|
|
388
307
|
|
|
389
|
-
interface CLuaParticle {
|
|
390
308
|
/**
|
|
391
309
|
* Sets the initial size value of the particle.
|
|
392
310
|
* @realm client
|
|
393
311
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetStartSize
|
|
394
312
|
*/
|
|
395
313
|
SetStartSize(self: CLuaParticle, startSize: number): void;
|
|
396
|
-
}
|
|
397
314
|
|
|
398
|
-
interface CLuaParticle {
|
|
399
315
|
/**
|
|
400
316
|
* Sets the think function of the particle.
|
|
401
317
|
* @realm client
|
|
402
318
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetThinkFunction
|
|
403
319
|
*/
|
|
404
320
|
SetThinkFunction(self: CLuaParticle, thinkFunc: (particle: CLuaParticle) => void): void;
|
|
405
|
-
}
|
|
406
321
|
|
|
407
|
-
interface CLuaParticle {
|
|
408
322
|
/**
|
|
409
323
|
* Sets the velocity of the particle.
|
|
410
324
|
* @realm client
|
|
411
325
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetVelocity
|
|
412
326
|
*/
|
|
413
327
|
SetVelocity(self: CLuaParticle, vel: Vector): void;
|
|
414
|
-
}
|
|
415
328
|
|
|
416
|
-
interface CLuaParticle {
|
|
417
329
|
/**
|
|
418
330
|
* Automatically scales the length of the particle based on the particle speed, multiplied with [CLuaParticle:SetStartLength](https://wiki.facepunch.com/gmod/CLuaParticle:SetStartLength) and [CLuaParticle:SetEndLength](https://wiki.facepunch.com/gmod/CLuaParticle:SetEndLength). Width remains the same as [CLuaParticle:SetStartSize](https://wiki.facepunch.com/gmod/CLuaParticle:SetStartSize) and [CLuaParticle:SetEndSize](https://wiki.facepunch.com/gmod/CLuaParticle:SetEndSize).
|
|
419
331
|
*
|
|
@@ -423,4 +335,3 @@ interface CLuaParticle {
|
|
|
423
335
|
*/
|
|
424
336
|
SetVelocityScale(self: CLuaParticle, doScale?: boolean): void;
|
|
425
337
|
}
|
|
426
|
-
|