文档版本:v1.0 最后更新:2026-04-02 08:28:05
本文档定义用户轨迹的显示模式、默认策略与配置结构。
目标:
none / full / tail 三种轨迹模式tail 模式有更强的实时感和游戏感nonefulltailmode = fullstyle = classicmode = tailstyle = neon"game": {
"presentation": {
"track": {
"mode": "tail",
"style": "neon",
"tailMeters": 60,
"tailMaxSeconds": 30,
"fadeOutWhenStill": true,
"stillSpeedKmh": 0.6,
"fadeOutDurationMs": 3000,
"colorHex": "#176d5d",
"headColorHex": "#54f3d8",
"widthPx": 5,
"headWidthPx": 10,
"glowStrength": 0.42
}
}
}
当前第一版实现支持:
modestyletailMeterstailMaxSecondsfadeOutWhenStillstillSpeedKmhfadeOutDurationMscolorHexheadColorHexwidthPxheadWidthPxglowStrengthstandard / lite 下自动降级 glow