public void ScheduleUpdateSamples(double time)
            {
                var updateJob = new UpdateSamplesJob {
                    context = context, time = time
                };

                updateJobHandle = updateJob.Schedule();
            }
Example #2
0
        // returns false if the context needs to be recovered.
        public bool AbcUpdateBegin(double time)
        {
            if (m_streamInterupted)
            {
                return(true);
            }
            if (!abcIsValid || !m_loaded)
            {
                return(false);
            }

            m_time = time;
            m_context.SetConfig(ref m_config);
            AbcBeforeUpdateSamples(m_abcTreeRoot);

            var updateJob = new UpdateSamplesJob {
                context = m_context, time = m_time
            };

            udateJobHandle = updateJob.Schedule();
            return(true);
        }