Exemplo n.º 1
0
        public float[] GetPathTimestamps()
        {
            // Output array.
            var result = new float[NodesNo];

            // For each key..
            for (var i = 0; i < NodesNo; i++)
            {
                // Get key time.
                result[i] = AnimatedObjectPath.GetTimeAtKey(i);
            }

            return(result);
        }
Exemplo n.º 2
0
 public float GetNodeTimestamp(int nodeIndex)
 {
     return(AnimatedObjectPath.GetTimeAtKey(nodeIndex));
 }