private void UpdateObject(SceneObject sceneObject, double interval) { sceneObject.Update(interval); SceneObject[] array = sceneObject.Children.ToArray(); foreach (var child in array) { UpdateObject(child, interval); } }
private void UpdateObject(SceneObject sceneObject) { if (sceneObject.Enabled) { sceneObject.Update(); SceneObject[] array = sceneObject.Children.ToArray(); foreach (var child in array) { UpdateObject(child); } } }
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); } } }
private void UpdateObject(SceneObject sceneObject) { if (sceneObject.Enabled) { sceneObject.Update(); SceneObject[] array = sceneObject.Children.ToArray(); foreach (SceneObject child in array) { UpdateObject(child); } } }