@Camera Data Copy(Parent)
  aviutl_camera_param_copy = obj.getoption("camera_param")


@Camera Data Copy(Child)
--track0:Zoom[%],0,5000,100

--dialog:Invert X-axis/chk,mx=0;Invert Y-axis/chk,my=0;Invert Z-axis/chk,mz=0;

  local cam = obj.getoption("camera_param")

  local bai=obj.track0*0.01

  if mx==1 then aviutl_camera_param_copy.x=-aviutl_camera_param_copy.x end
  if my==1 then aviutl_camera_param_copy.y=-aviutl_camera_param_copy.y end
  if mz==1 then aviutl_camera_param_copy.z=-aviutl_camera_param_copy.z end

  aviutl_camera_param_copy.x=bai*aviutl_camera_param_copy.x
  aviutl_camera_param_copy.y=bai*aviutl_camera_param_copy.y
  aviutl_camera_param_copy.z=bai*aviutl_camera_param_copy.z

  aviutl_camera_param_copy.rz=aviutl_camera_param_copy.rz

  aviutl_camera_param_copy.tx=  aviutl_camera_param_copy.tx
  aviutl_camera_param_copy.ty=  aviutl_camera_param_copy.ty
  aviutl_camera_param_copy.tz=  aviutl_camera_param_copy.tz

  aviutl_camera_param_copy.d=  aviutl_camera_param_copy.d

  obj.setoption("camera_param",aviutl_camera_param_copy)

