Beispiel #1
0
        public ScenePropertiesViewModel(
            TreeViewViewModel treeParent,
            CompoundObjectViewModel parentVm,
            MainViewModel mainVm,
            SceneProperties modelObject,
            bool enabled = true) :
            base(treeParent, parentVm, mainVm, enabled)
        {
            ModelObject = modelObject;

            SelectedSceneTypeIndex = SceneTypes.IndexOf(ModelObject.SceneType);
        }