ParticleSystem
Documentation for the ParticleSystem asset type.
Location
Particles
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/ParticleSystem.schema.json" Schema
Spawners array
Array items: ParticleSpawnerGroup
LifeSpan
NullableNumberOrSpecial
CullDistance
NullableNumberOrSpecial
BoundingRadius
NullableNumberOrSpecial
IsImportant
boolean
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "ParticleSystem.json",
"title": "ParticleSystem",
"description": "ParticleSystem asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"Spawners": {
"type": "array",
"items": {
"$ref": "common.schema.json#/$defs/ParticleSpawnerGroup"
},
"minItems": 1
},
"LifeSpan": {
"$ref": "base.schema.json#/$defs/NullableNumberOrSpecial"
},
"CullDistance": {
"$ref": "base.schema.json#/$defs/NullableNumberOrSpecial"
},
"BoundingRadius": {
"$ref": "base.schema.json#/$defs/NullableNumberOrSpecial"
},
"IsImportant": {
"type": "boolean",
"default": false
}
}
}