getViewMask.lua 528 B

12345678910111213141516171819
  1. return {
  2. summary = 'Get the view mask of the layer.',
  3. description = [[
  4. Returns the view mask of the layer. This is which eyes the layer will show up in, and is meant
  5. to be used for stereo images, where 1 layer is rendered in the left eye and another layer is
  6. rendred in the right eye at the same position.
  7. ]],
  8. arguments = {},
  9. returns = {
  10. views = {
  11. type = 'ViewMask',
  12. description = 'The view mask of the layer.'
  13. }
  14. },
  15. variants = {
  16. arguments = {},
  17. returns = { 'views' }
  18. }
  19. }