:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/modules/gltf/doc_classes/GLTFBufferView.xml. .. _class_GLTFBufferView: GLTFBufferView ============== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` Description ----------- **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. Properties ---------- +-------------------------+---------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`buffer` | ``-1`` | +-------------------------+---------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`byte_length` | ``0`` | +-------------------------+---------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`byte_offset` | ``0`` | +-------------------------+---------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`byte_stride` | ``-1`` | +-------------------------+---------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`indices` | ``false`` | +-------------------------+---------------------------------------------------------------+-----------+ Property Descriptions --------------------- .. _class_GLTFBufferView_property_buffer: - :ref:`int` **buffer** +-----------+-------------------+ | *Default* | ``-1`` | +-----------+-------------------+ | *Setter* | set_buffer(value) | +-----------+-------------------+ | *Getter* | get_buffer() | +-----------+-------------------+ ---- .. _class_GLTFBufferView_property_byte_length: - :ref:`int` **byte_length** +-----------+------------------------+ | *Default* | ``0`` | +-----------+------------------------+ | *Setter* | set_byte_length(value) | +-----------+------------------------+ | *Getter* | get_byte_length() | +-----------+------------------------+ ---- .. _class_GLTFBufferView_property_byte_offset: - :ref:`int` **byte_offset** +-----------+------------------------+ | *Default* | ``0`` | +-----------+------------------------+ | *Setter* | set_byte_offset(value) | +-----------+------------------------+ | *Getter* | get_byte_offset() | +-----------+------------------------+ ---- .. _class_GLTFBufferView_property_byte_stride: - :ref:`int` **byte_stride** +-----------+------------------------+ | *Default* | ``-1`` | +-----------+------------------------+ | *Setter* | set_byte_stride(value) | +-----------+------------------------+ | *Getter* | get_byte_stride() | +-----------+------------------------+ ---- .. _class_GLTFBufferView_property_indices: - :ref:`bool` **indices** +-----------+--------------------+ | *Default* | ``false`` | +-----------+--------------------+ | *Setter* | set_indices(value) | +-----------+--------------------+ | *Getter* | get_indices() | +-----------+--------------------+ .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`