mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Nodes - Added maths node
Nodes - Added visual representation of easing types to easings node
This commit is contained in:
1 parent
a664cfbcad
commit
28534cb57a
19 files changed
+190
-63
No files matched your search
@@ -3,13 +3,14 @@ using System.ComponentModel;
|
||||
using System.Reactive.Disposables;
|
||||
using Artemis.Core;
|
||||
using ReactiveUI;
|
||||
using ReactiveUI.Validation.Helpers;
|
||||
|
||||
namespace Artemis.UI.Shared.VisualScripting;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a custom view model for a node
|
||||
/// </summary>
|
||||
public abstract class CustomNodeViewModel : ActivatableViewModelBase, ICustomNodeViewModel
|
||||
public abstract class CustomNodeViewModel : ReactiveValidationObject, IActivatableViewModel, ICustomNodeViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new instance of the <see cref="CustomNodeViewModel" /> class.
|
||||
@@ -38,6 +39,13 @@ public abstract class CustomNodeViewModel : ActivatableViewModelBase, ICustomNod
|
||||
/// </summary>
|
||||
public INodeScript Script { get; }
|
||||
|
||||
#region Implementation of IActivatableViewModel
|
||||
|
||||
/// <inheritdoc />
|
||||
public ViewModelActivator Activator { get; } = new();
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Invokes the <see cref="NodeModified" /> event
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user