Trail
Documentation for the Trail asset type.
Location
Entity/Trails
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/Trail.schema.json" Schema
TexturePath
string
LifeSpan
integer
Roll
number
Start unknown
Any of
End unknown
Any of
LightInfluence
number
RenderMode
string
IntersectionHighlight unknown
Any of
Smooth
boolean
Animation unknown
Any of
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "Trail.json",
"title": "Trail",
"description": "Trail asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"TexturePath": {
"type": "string"
},
"LifeSpan": {
"type": "integer",
"default": 0
},
"Roll": {
"type": "number",
"default": 0
},
"Start": {
"anyOf": [
{
"$ref": "common.schema.json#/$defs/Edge"
},
{
"type": "null"
}
]
},
"End": {
"anyOf": [
{
"$ref": "common.schema.json#/$defs/Edge"
},
{
"type": "null"
}
]
},
"LightInfluence": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0
},
"RenderMode": {
"type": "string",
"title": "FXRenderMode",
"enum": [
"BlendLinear",
"BlendAdd",
"Erosion",
"Distortion"
],
"default": "BlendLinear"
},
"IntersectionHighlight": {
"anyOf": [
{
"$ref": "common.schema.json#/$defs/IntersectionHighlight"
},
{
"type": "null"
}
]
},
"Smooth": {
"type": "boolean",
"default": false
},
"Animation": {
"anyOf": [
{
"$ref": "common.schema.json#/$defs/Animation@1"
},
{
"type": "null"
}
]
}
}
}