HytaleDocs
Misc

WorldParticle

Particle System that can be spawned in the world.

SystemId

The id of the particle system.

Type information: String

Reference to a ParticleSystem asset

Color

The colour used if none was specified in the particle settings.

Type information:

(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

Scale

The scale of the particle system.

Type information:

(Nullable) Either Number defaults to: 1.0 or String that matches the pattern: ^(-?Infinity|NaN)$

PositionOffset

The position offset from the spawn position.

Type information:

(Nullable)

Vector3f with the following properties:

KeyTypeDescription
XEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
YEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ZEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

RotationOffset

The rotation offset from the spawn rotation.

Type information:

(Nullable)

Direction with the following properties:

KeyTypeDescription
Yaw(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Pitch(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Roll(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

On this page