Exemple #1
0
 private void UpdateObject(SceneObject sceneObject, double interval)
 {
     sceneObject.Update(interval);
     SceneObject[] array = sceneObject.Children.ToArray();
     foreach (var child in array)
     {
         UpdateObject(child, interval);
     }
 }
Exemple #2
0
 private void UpdateObject(SceneObject sceneObject)
 {
     if (sceneObject.Enabled)
     {
         sceneObject.Update();
         SceneObject[] array = sceneObject.Children.ToArray();
         foreach (var child in array)
         {
             UpdateObject(child);
         }
     }
 }
Exemple #3
0
 private void UpdateObject(SceneObject sceneObject)
 {
     if (sceneObject.RenderingEnabled || sceneObject.PickingEnabled)
     {
         sceneObject.Update();
         ITreeNode <SceneObject>[] array = sceneObject.Children.ToArray();
         foreach (SceneObject child in array)
         {
             UpdateObject(child);
         }
     }
 }
Exemple #4
0
 private void UpdateObject(SceneObject sceneObject)
 {
     if (sceneObject.Enabled)
     {
         sceneObject.Update();
         SceneObject[] array = sceneObject.Children.ToArray();
         foreach (SceneObject child in array)
         {
             UpdateObject(child);
         }
     }
 }