Tile - YParticle - Add Placed Particle – Ylands
Jump to navigation
Jump to search
Add Placed Particle(Entity, Particle template, Id, Offset, Rotation)
static addPlacedAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, offset: YVector3, rotation: YVector3): void;
Parameters
entity
template
id
offset
rotation
Availability
Description
Add* a placed particle effect from a template to the target entity at the given offset position and a rotation.
Notes
- Set the string ID for the reference by other tiles.
Add Placed Particle(Entity, Particle template, Id)
static addPlacedLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;
Parameters
entity
template
id
Availability
Description
Add* a placed particle effect from a template to the target entity. Line of the effect scales automatically.
Notes
- Set the string ID for the reference by other tiles.
Add Placed Particle(Entity, Particle template, Id)
static addPlacedVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;
Parameters
entity
template
id
Availability
Description
Add* a placed particle effect from a template to the target entity. Volume of the effect scales automatically.
Notes
- Set the string ID for the reference by other tiles.