public XEffectSprite AddSprite(float width, float height,STYPE type, ORIPOINT ori,Camera cam, int uvStretch, float maxFps)
 {
     VertexSegment segment = GetVertices(4,6);
     XEffectSprite s = new XEffectSprite(segment, width, height, type, ori, cam,uvStretch, maxFps);
     //Debug.Log("|"+segment.VertStart + "," + segment.VertCount);
     return s;
 }
 //sprite
 public void SetType(float width, float height, STYPE type, ORIPOINT orip, int uvStretch, float maxFps)
 {
     Type = 1;
     Sprite = Owner.GetVertexPool().AddSprite(width, height, type, orip, Camera.main, uvStretch, maxFps);
 }