setMaterial.lua 342 B

123456789101112131415
  1. return {
  2. summary = 'Apply a Material to the Mesh.',
  3. description = [[
  4. Applies a Material to the Mesh. This will cause it to use the Material's properties whenever it
  5. is rendered.
  6. ]],
  7. arguments = {
  8. {
  9. name = 'material',
  10. type = 'Material',
  11. description = 'The Material to apply.'
  12. }
  13. },
  14. returns = {}
  15. }