Пример #1
0
        public SceneEntityViewModel(MainWindow wnd, SceneEntity entity, bool is_expanded)
        {
            wnd_ = wnd;
            entity_ = entity;
            is_expanded_ = is_expanded;

            foreach (var child in entity_.Children)
            {
                children_.Add(new SceneEntityViewModel(wnd, child, false));
            }
        }
Пример #2
0
 public SceneEntityViewModel(MainWindow wnd, SceneEntity entity)
     : this(wnd, entity, true)
 {
 }