Exemple #1
0
        /// <summary>
        ///		Creates a new NumericAnimationTrack automatically associated with a Numeric.
        /// </summary>
        /// <param name="index">Handle to give the track, used for accessing the track later.</param>
        /// <param name="animable">AnimableValue which will be affected by this track.</param>
        /// <returns></returns>
        public NumericAnimationTrack CreateNumericTrack(ushort handle, AnimableValue animable)
        {
            // create a new track and set it's target
            NumericAnimationTrack track = CreateNumericTrack(handle);

            track.TargetAnimable = animable;

            return(track);
        }
Exemple #2
0
        /// <summary>
        ///		Creates an NumericAnimationTrack.
        /// </summary>
        /// <param name="handle">Handle to give the track, used for accessing the track later.</param>
        /// <returns></returns>
        public NumericAnimationTrack CreateNumericTrack(ushort handle)
        {
            NumericAnimationTrack track = new NumericAnimationTrack(this, handle);

            // add the track to the list
            numericTrackList[handle] = track;

            return(track);
        }
Exemple #3
0
		/// <summary>
		///		Creates an NumericAnimationTrack. 
		/// </summary>
		/// <param name="handle">Handle to give the track, used for accessing the track later.</param>
		/// <returns></returns>
		public NumericAnimationTrack CreateNumericTrack( ushort handle )
		{
			NumericAnimationTrack track = new NumericAnimationTrack( this, handle );

			// add the track to the list
			numericTrackList[ handle ] = track;

			return track;
		}