Tile - YParticle - Play Particle – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 84: | Line 84: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:27, 24 November 2023
Play Particle(Particle, Position, Rotation, Scale)
static play(particle: YParticle, position: YVector3, rotation: YVector3, scale: number): void;
Parameters
particle
Target Particle Effect
position
Position to play the effect at
rotation
Rotation of the effect
scale
Scale of the effect
Availability
Description
Allows to play particle effect at given position.
Notes
- 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
Availability
Description
Allows to play a particle effect from a particle effect template at given position once.
Play Particle(Particle template, Entity, Position, Rotation)
static play(particleTemplate: YParticleEffectTemplate, entity: YEntity, position: YVector3, rotation: YVector3): void;
Parameters
particleTemplate
entity
position
rotation
Availability
Description
Allows to play particle effect on selected entity.