public ActorViewModel(TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, Type t, string assemblyName) : base(parent, nodeAddCB, false) { ActorType = t; ActorName = t.Name; AssemblyName = assemblyName; }
public ParticleSpawnProcessorViewModel(ParticleSpawnProcessor spawnProcessor, TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, ICommand replaceSpawnParticleProcessor) : base(spawnProcessor.GetType().Name, parent, nodeAddCB, spawnProcessor) { ReplaceSpawnParticleProcessor = replaceSpawnParticleProcessor; SpawnProcessor = spawnProcessor; }
public BoneViewModel( TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, ICommand attachToBoneCommand, BoneActor actor) : base(parent, nodeAddCB, false) { BoneActor = actor; AttachToBoneCommand = attachToBoneCommand; }
public ParticleProcessorViewModel(IParticleProcessor particleProcessor, TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, ICommand removeParticleProcessor) : base(particleProcessor.GetType().Name, parent, nodeAddCB, particleProcessor) { RemoveParticleProcessor = removeParticleProcessor; ParticleProcessor = particleProcessor; }
public GameObjectCategoryViewModel(INodeAddedCallback nodeAddCB, string gameObjectName, string imgPath, string tag = null) : base(nodeAddCB, false) { GameObjectCategory = gameObjectName; ImagePath = imgPath; Tag = tag; }
protected TreeViewItemViewModel(TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, bool lazyLoadChildren) : this() { _parent = parent; ChildAdded += nodeAddCB.NodeAddedCallback; if (lazyLoadChildren) _children.Add(DummyChild); }
public SkeletonViewDataSource(INodeAddedCallback callback, ICommand attachToBoneCommand, ArmatureActor armatureActor) { _boneActorMapper = new Dictionary<BoneActor, BoneViewModel>(); _boneAttachedMapper = new Dictionary<BoneAttachedRenderableAsset, AssetViewModel>(); _callback = callback; _skeletonVM = new SkeletonViewModel(_callback); _renderableAssetsOrder = new ObservableCollection<AssetViewModel>(); _attachToBoneCommand = attachToBoneCommand; _armatureActor = armatureActor; }
public FolderViewModel( TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, string folderName, string folderFullPath, string tag = null) : base(parent, nodeAddCB, false) { FolderName = folderName; FolderFullPath = folderFullPath; Tag = tag; }
public ParticleEmitterViewModel( string name, INodeAddedCallback nodeAddCB, ICommand setParticleSpawnProcessor, ICommand setParticleProcessor, TreeViewItemViewModel parent, ParticleEmitter emitter) : base(name, parent, nodeAddCB, emitter) { SetParticleSpawnProcessor = setParticleSpawnProcessor; SetParticleProcessor = setParticleProcessor; ParticleEmitter = emitter; }
public AssetViewModel(TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, BoneAttachedRenderableAsset asset, string name) : base(parent, nodeAddCB, false) { Name = name; Asset = asset; }
public AssetViewModel(INodeAddedCallback nodeAddCB, BoneAttachedRenderableAsset asset, string name) : this(null, nodeAddCB, asset, name) { }
protected TreeViewItemViewModel(INodeAddedCallback nodeAddCB, bool lazyLoadChildren) : this(null, nodeAddCB, lazyLoadChildren) { }
public ParticleTreeViewItem(string name, TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, object editableObject) : base(parent, nodeAddCB, false) { Name = name; EditableObject = editableObject; }
public SkeletonViewModel(INodeAddedCallback nodeAddCB) : base(null, nodeAddCB, false) { }
public ActorsCategoryViewModel(INodeAddedCallback nodeAddCB) : base(nodeAddCB, "Actors", "/Images/GameObjectsControl/ActorTreeViewIcon.png", "Actors") { }
public AssemblyViewModel(TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, string assemblyName) : base(parent, nodeAddCB, false) { AssemblyName = assemblyName; }
public SceneViewModel(TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, string sceneName, string path) : base(parent, nodeAddCB, false) { SceneName = sceneName; Path = path; }
public TexturesCategoryViewModel(INodeAddedCallback nodeAddCB) : base(nodeAddCB, "Textures", "/Images/GameObjectsControl/TextureTreeViewIcon.jpg", "Textures") { }
public ParticleTreeViewItem(string name, INodeAddedCallback nodeAddCB, object editableObject) : this(name, null, nodeAddCB, editableObject) { }
public TextureViewModel(TreeViewItemViewModel parent, INodeAddedCallback nodeAddCB, string name, string fullpath) : base(parent, nodeAddCB, false) { _name = name; _fullPath = fullpath; }
public GameObjectsController(INodeAddedCallback nodeAddCB) { _nodeAddCB = nodeAddCB; }
public ParticleEffectViewModel(string name, INodeAddedCallback nodeAddCB, ICommand addParticleEmitterCommand) : base(name, nodeAddCB, null) { AddParticleEmitter = addParticleEmitterCommand; }
public BoneViewModel(INodeAddedCallback nodeAddCB, ICommand attachToBoneCommand, BoneActor actor) : this(null, nodeAddCB, attachToBoneCommand, actor) { }