# 设置特效沿路径移动批量

Dandelion.RtAPI("setEffectMoveAlongThePathBatch", params, (res) => {
  console.log(res);
});

# 功能描述

设置特效沿路径移动批量

# 请求参数格式

let params = [
  {
    backToInitialView: false,
    firstView: false,
    id: "",
    loopMove: true,
    movePathId: "",
    moveSpeed: 0,
    moveState: 0,
    thetherState: false,
  },
];

# 请求参数

参数名称 参数说明 是否必须 数据类型
  backToInitialView 模型是否回到初始位置 false Boolean
  firstView 是否第一视角观看 false Boolean
  id 要沿着路经移动的对象 id true String
  loopMove 是否循环移动 false Boolean
  movePathId 沿着路径移动得路径 id true String
  moveSpeed 移动速度 false Number
  moveState 移动状态(0 播放、1 暂停、2 停止) true Number
  thetherState 视点是否跟随 false Boolean