class_gltfbufferview.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Description
  10. -----------
  11. **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to ``GLTFBufferView`` within a script will cause an error in an exported project.
  12. Properties
  13. ----------
  14. +-------------------------+---------------------------------------------------------------+-----------+
  15. | :ref:`int<class_int>` | :ref:`buffer<class_GLTFBufferView_property_buffer>` | ``-1`` |
  16. +-------------------------+---------------------------------------------------------------+-----------+
  17. | :ref:`int<class_int>` | :ref:`byte_length<class_GLTFBufferView_property_byte_length>` | ``0`` |
  18. +-------------------------+---------------------------------------------------------------+-----------+
  19. | :ref:`int<class_int>` | :ref:`byte_offset<class_GLTFBufferView_property_byte_offset>` | ``0`` |
  20. +-------------------------+---------------------------------------------------------------+-----------+
  21. | :ref:`int<class_int>` | :ref:`byte_stride<class_GLTFBufferView_property_byte_stride>` | ``-1`` |
  22. +-------------------------+---------------------------------------------------------------+-----------+
  23. | :ref:`bool<class_bool>` | :ref:`indices<class_GLTFBufferView_property_indices>` | ``false`` |
  24. +-------------------------+---------------------------------------------------------------+-----------+
  25. Property Descriptions
  26. ---------------------
  27. .. _class_GLTFBufferView_property_buffer:
  28. - :ref:`int<class_int>` **buffer**
  29. +-----------+-------------------+
  30. | *Default* | ``-1`` |
  31. +-----------+-------------------+
  32. | *Setter* | set_buffer(value) |
  33. +-----------+-------------------+
  34. | *Getter* | get_buffer() |
  35. +-----------+-------------------+
  36. ----
  37. .. _class_GLTFBufferView_property_byte_length:
  38. - :ref:`int<class_int>` **byte_length**
  39. +-----------+------------------------+
  40. | *Default* | ``0`` |
  41. +-----------+------------------------+
  42. | *Setter* | set_byte_length(value) |
  43. +-----------+------------------------+
  44. | *Getter* | get_byte_length() |
  45. +-----------+------------------------+
  46. ----
  47. .. _class_GLTFBufferView_property_byte_offset:
  48. - :ref:`int<class_int>` **byte_offset**
  49. +-----------+------------------------+
  50. | *Default* | ``0`` |
  51. +-----------+------------------------+
  52. | *Setter* | set_byte_offset(value) |
  53. +-----------+------------------------+
  54. | *Getter* | get_byte_offset() |
  55. +-----------+------------------------+
  56. ----
  57. .. _class_GLTFBufferView_property_byte_stride:
  58. - :ref:`int<class_int>` **byte_stride**
  59. +-----------+------------------------+
  60. | *Default* | ``-1`` |
  61. +-----------+------------------------+
  62. | *Setter* | set_byte_stride(value) |
  63. +-----------+------------------------+
  64. | *Getter* | get_byte_stride() |
  65. +-----------+------------------------+
  66. ----
  67. .. _class_GLTFBufferView_property_indices:
  68. - :ref:`bool<class_bool>` **indices**
  69. +-----------+--------------------+
  70. | *Default* | ``false`` |
  71. +-----------+--------------------+
  72. | *Setter* | set_indices(value) |
  73. +-----------+--------------------+
  74. | *Getter* | get_indices() |
  75. +-----------+--------------------+
  76. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  77. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  78. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`