Manages the interpolated states of entities. Interpolated states are those based on the previous entity states and the current entity states, blended together using the time remainder from internal time stepping.
Inheritance: MultithreadedProcessingStage
 ///<summary>
 /// Constructs a new manager.
 ///</summary>
 ///<param name="parallelLooper">Parallel loop provider to be used by the manager.</param>
 public BufferedStatesManager(IParallelLooper parallelLooper)
 {
     InterpolatedStates = new InterpolatedStatesManager(this, parallelLooper);
     ReadBuffers = new StateReadBuffers(this, parallelLooper);
 }
        ///<summary>
        /// Constructs a new manager.
        ///</summary>
        public BufferedStatesManager()
        {
            InterpolatedStates = new InterpolatedStatesManager(this);
            ReadBuffers = new StateReadBuffers(this);

        }
Ejemplo n.º 3
0
 ///<summary>
 /// Constructs a new manager.
 ///</summary>
 ///<param name="threadManager">Thread manager to be used by the manager.</param>
 public BufferedStatesManager(IThreadManager threadManager)
 {
     InterpolatedStates = new InterpolatedStatesManager(this, threadManager);
     ReadBuffers = new StateReadBuffers(this, threadManager);
 }
 ///<summary>
 /// Constructs a new manager.
 ///</summary>
 ///<param name="threadManager">Thread manager to be used by the manager.</param>
 public BufferedStatesManager(IThreadManager threadManager)
 {
     InterpolatedStates = new InterpolatedStatesManager(this, threadManager);
     ReadBuffers        = new StateReadBuffers(this, threadManager);
 }
 ///<summary>
 /// Constructs a new manager.
 ///</summary>
 public BufferedStatesManager()
 {
     InterpolatedStates = new InterpolatedStatesManager(this);
     ReadBuffers        = new StateReadBuffers(this);
 }
Ejemplo n.º 6
0
 ///<summary>
 /// Constructs a new manager.
 ///</summary>
 ///<param name="parallelLooper">Parallel loop provider to be used by the manager.</param>
 public BufferedStatesManager(IParallelLooper parallelLooper)
 {
     InterpolatedStates = new InterpolatedStatesManager(this, parallelLooper);
     ReadBuffers        = new StateReadBuffers(this, parallelLooper);
 }