MultiMeshInstance2D.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="MultiMeshInstance2D" inherits="Node2D" version="3.4">
  3. <brief_description>
  4. Node that instances a [MultiMesh] in 2D.
  5. </brief_description>
  6. <description>
  7. [MultiMeshInstance2D] is a specialized node to instance a [MultiMesh] resource in 2D.
  8. Usage is the same as [MultiMeshInstance].
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="multimesh" type="MultiMesh" setter="set_multimesh" getter="get_multimesh">
  16. The [MultiMesh] that will be drawn by the [MultiMeshInstance2D].
  17. </member>
  18. <member name="normal_map" type="Texture" setter="set_normal_map" getter="get_normal_map">
  19. The normal map that will be used if using the default [CanvasItemMaterial].
  20. [b]Note:[/b] Godot expects the normal map to use X+, Y-, and Z+ coordinates. See [url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates]this page[/url] for a comparison of normal map coordinates expected by popular engines.
  21. </member>
  22. <member name="texture" type="Texture" setter="set_texture" getter="get_texture">
  23. The [Texture] that will be used if using the default [CanvasItemMaterial]. Can be accessed as [code]TEXTURE[/code] in CanvasItem shader.
  24. </member>
  25. </members>
  26. <signals>
  27. <signal name="texture_changed">
  28. <description>
  29. Emitted when the [member texture] is changed.
  30. </description>
  31. </signal>
  32. </signals>
  33. <constants>
  34. </constants>
  35. </class>