/// <summary>
        ///     Seeds the random number generator and gets the value at the given time.
        /// </summary>
        /// <returns>The value.</returns>
        /// <param name="time">Time.</param>
        /// <param name="seed">Seed.</param>
        public int GetValue(int time, uint seed)
        {
            m_RandomNumberGenerator.SetSeed(seed);

            return(GetValue(time));
        }
Esempio n. 2
0
        /// <summary>
        ///     Seeds the random number generator and gets the value at the given time.
        /// </summary>
        /// <returns>The value.</returns>
        /// <param name="time">Time.</param>
        /// <param name="seed">Seed.</param>
        public Vector3 GetValue(float time, uint seed)
        {
            m_RandomVector3Generator.SetSeed(seed);

            return(GetValue(time));
        }
        /// <summary>
        ///     Seeds the random number generator and gets the value at the given time.
        /// </summary>
        /// <returns>The value.</returns>
        /// <param name="time">Time.</param>
        /// <param name="seed">Seed.</param>
        public Color GetValue(float time, uint seed)
        {
            m_RandomColorGenerator.SetSeed(seed);

            return(GetValue(time));
        }