MaterialTexture.lua 917 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. return {
  2. summary = 'Different material texture parameters.',
  3. description = 'The different types of texture parameters `Material`s can hold.',
  4. values = {
  5. {
  6. name = 'diffuse',
  7. description = 'The diffuse texture.'
  8. },
  9. {
  10. name = 'emissive',
  11. description = 'The emissive texture.'
  12. },
  13. {
  14. name = 'metalness',
  15. description = 'The metalness texture.'
  16. },
  17. {
  18. name = 'roughness',
  19. description = 'The roughness texture.'
  20. },
  21. {
  22. name = 'occlusion',
  23. description = 'The ambient occlusion texture.'
  24. },
  25. {
  26. name = 'normal',
  27. description = 'The normal map.'
  28. },
  29. {
  30. name = 'environment',
  31. description = 'The environment map, should be specified as a cubemap texture.'
  32. }
  33. },
  34. related = {
  35. 'Material:getTexture',
  36. 'Material:setTexture',
  37. 'MaterialColor',
  38. 'MaterialScalar',
  39. 'Material'
  40. }
  41. }