isWireframe.lua 488 B

123456789101112131415161718
  1. return {
  2. tag = 'graphicsState',
  3. summary = 'Get whether wireframe mode is enabled.',
  4. description = 'Returns a boolean indicating whether or not wireframe rendering is enabled.',
  5. arguments = {},
  6. returns = {
  7. {
  8. name = 'isWireframe',
  9. type = 'boolean',
  10. description = 'Whether or not wireframe rendering is enabled.'
  11. }
  12. },
  13. notes = [[
  14. Wireframe rendering is initially disabled.
  15. Wireframe rendering is not supported on the web or on Android.
  16. ]]
  17. }