<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=ParticleSystem</id>
	<title>ParticleSystem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=ParticleSystem"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=ParticleSystem&amp;action=history"/>
	<updated>2026-04-21T23:08:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=ParticleSystem&amp;diff=21&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:ParticleSystemExampleCode}}  ==Inheritance== RenderNode   ==Static functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |ParticleSystem |new(table dataTab) |Create a new Instance of the the ParticleSystem |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- | |update() | |- | |setLine...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=ParticleSystem&amp;diff=21&amp;oldid=prev"/>
		<updated>2025-07-05T13:01:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:ParticleSystemExampleCode}}  ==Inheritance== &lt;a href=&quot;/index.php/RenderNode&quot; title=&quot;RenderNode&quot;&gt;RenderNode&lt;/a&gt;   ==Static functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |&lt;a href=&quot;/index.php/ParticleSystem&quot; title=&quot;ParticleSystem&quot;&gt;ParticleSystem&lt;/a&gt; |&lt;a href=&quot;/index.php?title=ParticleSystem:new(table_dataTab)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ParticleSystem:new(table dataTab) (page does not exist)&quot;&gt;new&lt;/a&gt;(table dataTab) |Create a new Instance of the the ParticleSystem |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- | |&lt;a href=&quot;/index.php?title=ParticleSystem:update()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ParticleSystem:update() (page does not exist)&quot;&gt;update&lt;/a&gt;() | |- | |&lt;a href=&quot;/index.php?title=ParticleSystem:setLine(Vec3_startPos,_Vec3_endPos,_float_timePos)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ParticleSystem:setLine(Vec3 startPos, Vec3 endPos, float timePos) (page does not exist)&quot;&gt;setLine&lt;/a&gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:ParticleSystemExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Inheritance==&lt;br /&gt;
[[RenderNode]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Static functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|[[ParticleSystem]]&lt;br /&gt;
|[[ParticleSystem:new(table dataTab)|new]](table dataTab)&lt;br /&gt;
|Create a new Instance of the the ParticleSystem&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:update()|update]]()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setLine(Vec3 startPos, Vec3 endPos, float timePos)|setLine]]([[Vec3]] startPos, [[Vec3]] endPos, float timePos)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[ParticleSystem:isRendering()|isRendering]]()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setScale(float scale)|setScale]](float scale)&lt;br /&gt;
|Scales the particle effect 1.0 is default size&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setEmitterPos(Vec3 pos)|setEmitterPos]]([[Vec3]] pos)&lt;br /&gt;
|Where the particles will spawn. This does not effect the already spawned particles&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setEmitterPos(Vec3 pos, Vec3 atVec)|setEmitterPos]]([[Vec3]] pos, [[Vec3]] atVec)&lt;br /&gt;
|Where the particles will spawn and ad a target vector for vector based particle effects. This does not effect the already spawned particles&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setEmitterLine(Line3D line)|setEmitterLine]]([[Line3D]] line)&lt;br /&gt;
|Particles will spawn equaly over the line&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setEmitterLine(Line3D line, Vec3 atVec)|setEmitterLine]]([[Line3D]] line, [[Vec3]] atVec)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setAtVector(Vec3 atVec)|setAtVector]]([[Vec3]] atVec)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setFullAlphaOnRange(float range)|setFullAlphaOnRange]](float range)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:ageParticles(float time)|ageParticles]](float time)&lt;br /&gt;
|Ages the particle system by a set amount of time&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:activate(Vec3 pos)|activate]]([[Vec3]] pos)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:activate(Vec3 pos, Vec3 atVec)|activate]]([[Vec3]] pos, [[Vec3]] atVec)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:deactivate()|deactivate]]()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:deactivate(double duration)|deactivate]](double duration)&lt;br /&gt;
|Will deactivate the partices. but they will fade out during a set time.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[ParticleSystem:isActive()|isActive]]()&lt;br /&gt;
|Returns true if any particle is still active, else it return false.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setScale(float scale)|setScale]](float scale)&lt;br /&gt;
|Set the scale of the particle effect from 0.0 to infinity.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setSpawnRadius(float radius)|setSpawnRadius]](float radius)&lt;br /&gt;
|Set the radius where particles can spawn, from 0.0 to infinity.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setSpawnRate(float rate)|setSpawnRate]](float rate)&lt;br /&gt;
|Set the percentage of how many particles will spawn, where 1.0 is 100%. the math is rate * default spawn rate&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:setProportionRightForNoneWallboardParticle(float proportion)|setProportionRightForNoneWallboardParticle]](float proportion)&lt;br /&gt;
|how wide the particle should be if pixel wise it is 10px,100px then the proportion should be 10 to keep the shape&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[ParticleSystem:resetSpawnTimer()|resetSpawnTimer]]()&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>