Ingen beskrivning
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.

ndo_cacheLines.gizmo 968B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. version 5.0100
  2. Gizmo {
  3. inputs 1
  4. addUserKnob {7 aspect l "Aspect:" R 0 3}
  5. aspect {{2.35}}
  6. addUserKnob {7 px_ratio l "Pixel Ratio:" R 0 3}
  7. px_ratio {{1.0}}
  8. addUserKnob {41 opacity l "opacity" T Rectangle1.opacity}
  9. addUserKnob {19 lineColor R 0 1}
  10. lineColor {1 0 0 1}
  11. addUserKnob {7 thick l "Line Thickness"}
  12. thick {1.0}
  13. }
  14. Input {
  15. inputs 0
  16. name Input1
  17. xpos -89
  18. ypos 13
  19. }
  20. Rectangle {
  21. opacity 0.5
  22. area {0 {0.5*(height-width/aspect*px_ratio)-thick} {width} {0.5*(height-width/aspect*px_ratio)}}
  23. color {{lineColor.r} {lineColor.g} {lineColor.b} {lineColor.a}}
  24. name Rectangle1
  25. selected true
  26. xpos -133
  27. ypos -19
  28. }
  29. Rectangle {
  30. opacity {Rectangle1.opacity}
  31. area {0 {0.5*(height+width/aspect*px_ratio)} {width} {0.5*(height+width/aspect*px_ratio)+thick}}
  32. color {{lineColor.r} {lineColor.g} {lineColor.b} {lineColor.a}}
  33. name Rectangle2
  34. selected true
  35. xpos -133
  36. ypos 48
  37. }
  38. Output {
  39. name Output1
  40. xpos -89
  41. ypos 153
  42. }
  43. end_group