Ejemplo n.º 1
0
        public void AddTextureAnimDisplacement()
        {
            MeshManager m = MeshManager.Inst;

            if (m.target != null)
            {
                PlaytimePainter em = m.target;
                if (em == null)
                {
                    return;
                }
                int y = em.GetAnimationUVy();
                foreach (MeshPoint v in meshPoints)
                {
                    v.localPos += (v.anim[y]);
                }
            }
        }