Tile - YParticle - Add Worn Particle – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Wiki|stub}}
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Add Worn Particle(Entity, Particle template, Id, Bone, Offset, Rotation) ==
 
[[File:YlandsTile-885.png]]
 
<pre>static addWornAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone, offset: YVector3, rotation: YVector3): void;</pre>
=== Parameters ===
 
==== entity ====
 
==== template ====
 
==== id ====
 
==== bone ====
 
==== offset ====
 
==== rotation ====
 
=== Description ===
 
''Add''* a '''worn particle effect''' from a '''template''' to the target '''entity's animation bone''' at the given '''offset position''' and a '''rotation'''.
 
=== Notes ===
 
* Set the '''string ID''' for the reference by other tiles.
 
== Add Worn Particle(Entity, Particle template, Id) ==
 
[[File:YlandsTile-887.png]]
 
<pre>static addWornLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;</pre>
=== Parameters ===
 
==== entity ====
 
==== template ====
 
==== id ====
 
=== Description ===
 
''Add''* a '''worn particle effect''' from a '''template''' to the target '''entity'''. '''Line''' of the effect scales automatically.
 
== Add Worn Particle(Entity, Particle template, Id, Bone) ==
 
[[File:YlandsTile-886.png]]
 
<pre>static addWornVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone): void;</pre>
=== Parameters ===
 
==== entity ====
 
==== template ====
 
==== id ====
 
==== bone ====
 
=== Description ===
 
''Add''* a '''worn particle effect''' from a '''template''' to the target '''entity's animation bone'''. '''Volume''' of the effect scales automatically.




Line 7: Line 71:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 1.2]]

Revision as of 09:53, 8 July 2021

Add Worn Particle(Entity, Particle template, Id, Bone, Offset, Rotation)

YlandsTile-885.png

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

Parameters

entity

template

id

bone

offset

rotation

Description

Add* a worn particle effect from a template to the target entity's animation bone at the given offset position and a rotation.

Notes

  • Set the string ID for the reference by other tiles.

Add Worn Particle(Entity, Particle template, Id)

YlandsTile-887.png

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

Parameters

entity

template

id

Description

Add* a worn particle effect from a template to the target entity. Line of the effect scales automatically.

Add Worn Particle(Entity, Particle template, Id, Bone)

YlandsTile-886.png

static addWornVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone): void;

Parameters

entity

template

id

bone

Description

Add* a worn particle effect from a template to the target entity's animation bone. Volume of the effect scales automatically.