class_gltfbufferview.rst 4.0 KB

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