class_openxrvisibilitymask.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/modules/openxr/doc_classes/OpenXRVisibilityMask.xml.
  6. .. _class_OpenXRVisibilityMask:
  7. OpenXRVisibilityMask
  8. ====================
  9. **Inherits:** :ref:`VisualInstance3D<class_VisualInstance3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Draws a stereo correct visibility mask.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. The visibility mask allows us to black out the part of the render result that is invisible due to lens distortion.
  15. As this is rendered first, it prevents fragments with expensive lighting calculations to be processed as they are discarded through z-checking.
  16. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  17. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  18. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  19. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  20. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  21. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  22. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  23. .. |void| replace:: :abbr:`void (No return value.)`