setViewMask.lua 525 B

12345678910111213141516171819
  1. return {
  2. summary = 'Set the view mask of the layer.',
  3. description = [[
  4. Sets the view mask of the layer. This is which eyes the layer will show up in, and is meant to
  5. 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. views = {
  10. type = 'ViewMask',
  11. description = 'The view mask of the layer.'
  12. }
  13. },
  14. returns = {},
  15. variants = {
  16. arguments = { 'views' },
  17. returns = {}
  18. }
  19. }