mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
109 lines
4.1 KiB
ReStructuredText
109 lines
4.1 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. DO NOT EDIT THIS FILE!!!
|
|
.. Generated automatically from Godot engine sources.
|
|
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
|
|
.. XML source: https://github.com/godotengine/godot/tree/master/modules/gltf/doc_classes/GLTFBufferView.xml.
|
|
|
|
.. _class_GLTFBufferView:
|
|
|
|
GLTFBufferView
|
|
==============
|
|
|
|
**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
|
|
|
|
|
|
|
Properties
|
|
----------
|
|
|
|
+-------------------------+---------------------------------------------------------------+-----------+
|
|
| :ref:`int<class_int>` | :ref:`buffer<class_GLTFBufferView_property_buffer>` | ``-1`` |
|
|
+-------------------------+---------------------------------------------------------------+-----------+
|
|
| :ref:`int<class_int>` | :ref:`byte_length<class_GLTFBufferView_property_byte_length>` | ``0`` |
|
|
+-------------------------+---------------------------------------------------------------+-----------+
|
|
| :ref:`int<class_int>` | :ref:`byte_offset<class_GLTFBufferView_property_byte_offset>` | ``0`` |
|
|
+-------------------------+---------------------------------------------------------------+-----------+
|
|
| :ref:`int<class_int>` | :ref:`byte_stride<class_GLTFBufferView_property_byte_stride>` | ``-1`` |
|
|
+-------------------------+---------------------------------------------------------------+-----------+
|
|
| :ref:`bool<class_bool>` | :ref:`indices<class_GLTFBufferView_property_indices>` | ``false`` |
|
|
+-------------------------+---------------------------------------------------------------+-----------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_GLTFBufferView_property_buffer:
|
|
|
|
- :ref:`int<class_int>` **buffer**
|
|
|
|
+-----------+-------------------+
|
|
| *Default* | ``-1`` |
|
|
+-----------+-------------------+
|
|
| *Setter* | set_buffer(value) |
|
|
+-----------+-------------------+
|
|
| *Getter* | get_buffer() |
|
|
+-----------+-------------------+
|
|
|
|
----
|
|
|
|
.. _class_GLTFBufferView_property_byte_length:
|
|
|
|
- :ref:`int<class_int>` **byte_length**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+------------------------+
|
|
| *Setter* | set_byte_length(value) |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_byte_length() |
|
|
+-----------+------------------------+
|
|
|
|
----
|
|
|
|
.. _class_GLTFBufferView_property_byte_offset:
|
|
|
|
- :ref:`int<class_int>` **byte_offset**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+------------------------+
|
|
| *Setter* | set_byte_offset(value) |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_byte_offset() |
|
|
+-----------+------------------------+
|
|
|
|
----
|
|
|
|
.. _class_GLTFBufferView_property_byte_stride:
|
|
|
|
- :ref:`int<class_int>` **byte_stride**
|
|
|
|
+-----------+------------------------+
|
|
| *Default* | ``-1`` |
|
|
+-----------+------------------------+
|
|
| *Setter* | set_byte_stride(value) |
|
|
+-----------+------------------------+
|
|
| *Getter* | get_byte_stride() |
|
|
+-----------+------------------------+
|
|
|
|
----
|
|
|
|
.. _class_GLTFBufferView_property_indices:
|
|
|
|
- :ref:`bool<class_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.)`
|
|
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
|
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
|
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|