Ejemplo n.º 1
0
        /// <summary>
        /// Adds an array of points to the move path.
        /// </summary>
        public bool AddPoints(IList <Vector3> points)
        {
            AssertNotDisposed();

            int len = points.Count;

            float[,] pointsArr = new float[len, 3];

            for (int i = 0; i < len; i++)
            {
                pointsArr[i, 0] = points[i].X;
                pointsArr[i, 1] = points[i].Y;
                pointsArr[i, 2] = points[i].Z;
            }
            return(Internal.AddPointsToPath(Id, pointsArr, len));
        }