<?xml version="1.0"?>
<materialx version="1.39">
  <surfacematerial name="mat_rotate2d_test" type="material" nodedef="ND_surfacematerial">
    <input name="surfaceshader" type="surfaceshader" nodename="surface_shader1" />
  </surfacematerial>
  <standard_surface name="surface_shader1" type="surfaceshader" nodedef="ND_standard_surface_surfaceshader">
    <input name="base_color" type="color3" output="out" nodegraph="rotate2d_test" />
  </standard_surface>
  <nodegraph name="rotate2d_test">
    <texcoord name="texcoord1" type="vector2" />
    <rotate2d name="rotate2d_1" type="vector2">
      <input name="in" type="vector2" nodename="texcoord1" />
      <input name="amount" type="float" value="45.0" unittype="angle" unit="degree" />
      <input name="pivot" type="vector2" value="0.5, 0.5" />
    </rotate2d>
    <image name="rotated_image" type="color3">
      <input name="file" type="filename" value="resources/Images/grid.png" />
      <input name="default" type="color3" value="0.5, 0.5, 0.5" />
      <input name="texcoord" type="vector2" nodename="rotate2d_1" />
    </image>
    <output name="out" type="color3" nodename="rotated_image" />
  </nodegraph>
</materialx> 