AC.LvYeXianCtrl

AgentComponent_VLabLvYeXianCtrl

  • 修改shader时,只需要修改origin下的四个shader即可。
  • do not modify下的shader会根据origin下shader的属性进行同步变化,所以不用修改do not modify下的shader。

      public void Bind(ulong entityId)
    
      /// <summary>
      /// 初始化
      /// </summary>
      /// <param name="path">传入的滤纸条路径lvzhitiao_qiege_lod0</param>
      public void Init(string path)
    
      /// <summary>
      /// 设置色素带的位置
      /// </summary>
      /// <param name="index">
      /// 色素带的索引值
      /// 1-胡萝卜素
      /// 2-叶黄素
      /// 3-叶绿素A
      /// 4-叶绿素B
      /// </param>
      /// <param name="position">相对纸带底部的高度</param>
      public void SetPosition(int index, float position)
    
      /// <summary>
      /// 设置色素带的范围
      /// </summary>
      /// <param name="index"></param>
      /// <param name="range">范围</param>
      public void SetRange(int index, float range)
    
      /// <summary>
      /// 设置色素带的浓度
      /// </summary>
      /// <param name="index"></param>
      /// <param name="strength">浓度</param>
      public void SetRangeStrength(int index, float strength)
    
      /// <summary>
      /// 设置色素带的曲率
      /// </summary>
      /// <param name="index"></param>
      /// <param name="strength">弯曲程度</param>
      public void SetWaveStrength(int index, float strength)
    
      /// <summary>
      /// 设置色素带的颜色
      /// </summary>
      /// <param name="index"></param>
      /// <param name="color">颜色</param>
      public void SetColor(int index, Color color)