You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
749 B

  1. // Amplify Shader Editor - Visual Shader Editing Tool
  2. // Copyright (c) Amplify Creations, Lda <info@amplify.pt>
  3. using System;
  4. namespace AmplifyShaderEditor
  5. {
  6. [Serializable]
  7. public class TemplateShaderPropertyData
  8. {
  9. public string PropertyInspectorName;
  10. public string PropertyName;
  11. public WirePortDataType PropertyDataType;
  12. public PropertyType PropertyType;
  13. public TemplateShaderPropertyData( string propertyInspectorName, string propertyName, WirePortDataType propertyDataType , PropertyType propertyType )
  14. {
  15. PropertyInspectorName = string.IsNullOrEmpty( propertyInspectorName )?propertyName: propertyInspectorName;
  16. PropertyName = propertyName;
  17. PropertyDataType = propertyDataType;
  18. PropertyType = propertyType;
  19. }
  20. }
  21. }