CreateStructureMember_ChangeInfo.cs 959 B

123456789101112131415161718192021222324252627
  1. using System.Collections.Immutable;
  2. using System.Reflection;
  3. using PixiEditor.ChangeableDocument.ChangeInfos.NodeGraph;
  4. using PixiEditor.ChangeableDocument.Enums;
  5. using Drawie.Numerics;
  6. namespace PixiEditor.ChangeableDocument.ChangeInfos.Structure;
  7. public abstract record class CreateStructureMember_ChangeInfo(
  8. string InternalName,
  9. float Opacity,
  10. bool IsVisible,
  11. bool ClipToMemberBelow,
  12. string Name,
  13. BlendMode BlendMode,
  14. Guid Id,
  15. bool HasMask,
  16. bool MaskIsVisible,
  17. ImmutableArray<NodePropertyInfo> InputProperties,
  18. ImmutableArray<NodePropertyInfo> OutputProperties,
  19. VecD position,
  20. NodeMetadata Metadata
  21. ) : CreateNode_ChangeInfo(InternalName, Name, position, Id, InputProperties, OutputProperties, Metadata)
  22. {
  23. public ImmutableArray<NodePropertyInfo> InputProperties { get; init; } = InputProperties;
  24. public ImmutableArray<NodePropertyInfo> OutputProperties { get; init; } = OutputProperties;
  25. }