Tile - YParticle - Add Placed Particle – Ylands

From Bohemia Interactive Community
Revision as of 08:52, 8 July 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Add Placed Particle(Entity, Particle template, Id...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add Placed Particle(Entity, Particle template, Id, Offset, Rotation)

YlandsTile-800.png

static addPlacedAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, offset: YVector3, rotation: YVector3): void;

Parameters

entity

template

id

offset

rotation

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)

YlandsTile-802.png

static addPlacedLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;

Parameters

entity

template

id

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)

YlandsTile-801.png

static addPlacedVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;

Parameters

entity

template

id

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.