Tile - YParticle - Play Particle – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Play particle to Ylands:Tile - YParticle - Play Particle: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Play Particle(Particle, Position, Rotation, Scale) == | |||
[[File:YlandsTile-170.png]] | |||
<pre>static play(particle: YParticle, position: YVector3, rotation: YVector3, scale: number): void;</pre> | |||
=== Parameters === | |||
==== particle ==== | |||
==== position ==== | |||
==== rotation ==== | |||
==== scale ==== | |||
=== Description === | |||
Allows to '''play''' '''particle effect''' at given position. Particle effect will '''play''' only '''once'''. | |||
== Play Particle(Particle template, Position, Rotation) == | |||
[[File:YlandsTile-796.png]] | |||
<pre>static play(particleTemplate: YParticleEffectTemplate, position: YVector3, rotation: YVector3): void;</pre> | |||
=== Parameters === | |||
==== particleTemplate ==== | |||
==== position ==== | |||
==== rotation ==== | |||
=== Description === | |||
Allows to '''play''' a '''particle effect''' from a '''particle effect template''' at given position once. | |||
Line 9: | Line 44: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:51, 8 July 2021
Play Particle(Particle, Position, Rotation, Scale)
static play(particle: YParticle, position: YVector3, rotation: YVector3, scale: number): void;
Parameters
particle
position
rotation
scale
Description
Allows to play particle effect at given position. Particle effect will play only once.
Play Particle(Particle template, Position, Rotation)
static play(particleTemplate: YParticleEffectTemplate, position: YVector3, rotation: YVector3): void;
Parameters
particleTemplate
position
rotation
Description
Allows to play a particle effect from a particle effect template at given position once.