2
0

isView.lua 481 B

123456789101112131415161718192021222324
  1. return {
  2. tag = 'texture-view',
  3. summary = 'Check if a Texture is a texture view.',
  4. description = [[
  5. Returns whether a Texture is a texture view, created with `Texture:newView`.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. view = {
  10. type = 'boolean',
  11. description = 'Whether the Texture is a texture view.'
  12. }
  13. },
  14. variants = {
  15. {
  16. arguments = {},
  17. returns = { 'view' }
  18. }
  19. },
  20. related = {
  21. 'Texture:getParent',
  22. 'Texture:newView'
  23. }
  24. }