class_gltfbufferview.rst 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/gltf/doc_classes/GLTFBufferView.xml.
  6. .. _class_GLTFBufferView:
  7. GLTFBufferView
  8. ==============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Properties
  11. ----------
  12. +-------------------------+---------------------------------------------------------------+-----------+
  13. | :ref:`int<class_int>` | :ref:`buffer<class_GLTFBufferView_property_buffer>` | ``-1`` |
  14. +-------------------------+---------------------------------------------------------------+-----------+
  15. | :ref:`int<class_int>` | :ref:`byte_length<class_GLTFBufferView_property_byte_length>` | ``0`` |
  16. +-------------------------+---------------------------------------------------------------+-----------+
  17. | :ref:`int<class_int>` | :ref:`byte_offset<class_GLTFBufferView_property_byte_offset>` | ``0`` |
  18. +-------------------------+---------------------------------------------------------------+-----------+
  19. | :ref:`int<class_int>` | :ref:`byte_stride<class_GLTFBufferView_property_byte_stride>` | ``-1`` |
  20. +-------------------------+---------------------------------------------------------------+-----------+
  21. | :ref:`bool<class_bool>` | :ref:`indices<class_GLTFBufferView_property_indices>` | ``false`` |
  22. +-------------------------+---------------------------------------------------------------+-----------+
  23. Property Descriptions
  24. ---------------------
  25. .. _class_GLTFBufferView_property_buffer:
  26. - :ref:`int<class_int>` **buffer**
  27. +-----------+-------------------+
  28. | *Default* | ``-1`` |
  29. +-----------+-------------------+
  30. | *Setter* | set_buffer(value) |
  31. +-----------+-------------------+
  32. | *Getter* | get_buffer() |
  33. +-----------+-------------------+
  34. ----
  35. .. _class_GLTFBufferView_property_byte_length:
  36. - :ref:`int<class_int>` **byte_length**
  37. +-----------+------------------------+
  38. | *Default* | ``0`` |
  39. +-----------+------------------------+
  40. | *Setter* | set_byte_length(value) |
  41. +-----------+------------------------+
  42. | *Getter* | get_byte_length() |
  43. +-----------+------------------------+
  44. ----
  45. .. _class_GLTFBufferView_property_byte_offset:
  46. - :ref:`int<class_int>` **byte_offset**
  47. +-----------+------------------------+
  48. | *Default* | ``0`` |
  49. +-----------+------------------------+
  50. | *Setter* | set_byte_offset(value) |
  51. +-----------+------------------------+
  52. | *Getter* | get_byte_offset() |
  53. +-----------+------------------------+
  54. ----
  55. .. _class_GLTFBufferView_property_byte_stride:
  56. - :ref:`int<class_int>` **byte_stride**
  57. +-----------+------------------------+
  58. | *Default* | ``-1`` |
  59. +-----------+------------------------+
  60. | *Setter* | set_byte_stride(value) |
  61. +-----------+------------------------+
  62. | *Getter* | get_byte_stride() |
  63. +-----------+------------------------+
  64. ----
  65. .. _class_GLTFBufferView_property_indices:
  66. - :ref:`bool<class_bool>` **indices**
  67. +-----------+--------------------+
  68. | *Default* | ``false`` |
  69. +-----------+--------------------+
  70. | *Setter* | set_indices(value) |
  71. +-----------+--------------------+
  72. | *Getter* | get_indices() |
  73. +-----------+--------------------+
  74. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  75. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  76. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  77. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  78. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  79. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`