Tile - YParticle - Add Worn Particle – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
==== rotation ==== | ==== rotation ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 41: | Line 45: | ||
==== id ==== | ==== id ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 60: | Line 68: | ||
==== bone ==== | ==== bone ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 12:16, 12 November 2021
Add Worn Particle(Entity, Particle template, Id, Bone, Offset, Rotation)
static addWornAbsolutePosition(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone, offset: YVector3, rotation: YVector3): void;
Parameters
entity
template
id
bone
offset
rotation
Availability
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)
static addWornLineAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string): void;
Parameters
entity
template
id
Availability
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)
static addWornVolumeAutoscale(entity: YEntity, template: YParticleEffectTemplate, id: string, bone: YAnimationBone): void;
Parameters
entity
template
id
bone
Availability
Description
Add* a worn particle effect from a template to the target entity's animation bone. Volume of the effect scales automatically.