Example #1
0
 private void DagPathOnWorldMatrixModified(object sender, MWorldMatrixModifiedFunctionArgs mWorldMatrixModifiedFunctionArgs)
 {
     CurTime = DateTime.Now.Ticks / 10;
     if (CurTime - PrevTime > Delta)
     {
         OnChanged(EventArgs.Empty);
     }
     PrevTime = CurTime;
 }
Example #2
0
        //events
        internal void DagPathOnWorldMatrixModified(object sender, MWorldMatrixModifiedFunctionArgs mWorldMatrixModifiedFunctionArgs)
        {
            _curTime = TimeSpan.FromTicks(DateTime.Now.Ticks);

            if (_curTime.Subtract(_prevTime).TotalMilliseconds > EventTimeInterval)
            {
                OnChanged(DagNode);
            }
            _prevTime = _curTime;
        }
Example #3
0
 internal void DagPathOnWorldMatrixModified(object sender, MWorldMatrixModifiedFunctionArgs mWorldMatrixModifiedFunctionArgs)
 {
     OnChanged(DagNode);
 }