Esempio n. 1
0
 //改变摄像机数据
 private void SetCaminfo(Caminfo info)
 {
     CamholdType        = info.CamHoldtype;
     CamStaticPos       = info.CamStaticPos;
     CamStaticAngles    = info.CamStaticAngles;
     CamAnglesMoveSpeed = info.CamAnglesMoveSpeed;
     CamPosMoveSpeed    = info.CamPosMoveSpeed;
     CamPosMoveTime     = info.CamPosMoveTime;
     CamAnglesMoveTime  = info.CamAnglesMoveTime;
     CamCenterDeviant   = info.CamCenterDeviant;
     CamPosDeviant      = info.CamPosDeviant;
     Camtype            = info.CamType;
     Camtagtype         = info.CamTagType;
     CamAnglesMovetype  = info.CamAnglesMovetype;
     CamPosmoveType     = info.CamPosMovetype;
     Camlooktype        = info.Camlooktype;
     CamLookSpeed       = info.CamLookSpeed;
 }
 /// <summary>
 /// 发送摄像机信息
 /// </summary>
 /// <param name="info">信息结构</param>
 public void SetCamInfo(Caminfo info)
 {
     CameraContrler.GetInstantiate().SetCamInfo(info);
 }
Esempio n. 3
0
 /// <summary>
 /// 发送摄像机信息
 /// </summary>
 /// <param name="info">info</param>
 public void SetCamInfo(Caminfo info)
 {
     SetCaminfo(info);
 }