set_led_rgb 自定义设置材质 发光灯颜色

输入参数

  • entity_id 实体索引
  • name 模型名称
  • r 红色通道强度、亮度
  • g 绿色通道强度、亮度
  • b 蓝色通道强度、亮度

输出参数

例子

// 显示当前实体
set_led_rgb(entity.index,"body",200.0);
作者:力博特  创建时间:2026-01-08 19:00
最后编辑:力博特  更新时间:2026-01-13 17:31