: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/GLTFAccessor.xml. .. _class_GLTFAccessor: GLTFAccessor ============ **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 ``GLTFAccessor`` within a script will cause an error in an exported project. Properties ---------- +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`buffer_view` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`byte_offset` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`component_type` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`count` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`PoolRealArray` | :ref:`max` | ``PoolRealArray( )`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`PoolRealArray` | :ref:`min` | ``PoolRealArray( )`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`bool` | :ref:`normalized` | ``false`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`sparse_count` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`sparse_indices_buffer_view` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`sparse_indices_byte_offset` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`sparse_indices_component_type` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`sparse_values_buffer_view` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`sparse_values_byte_offset` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`type` | ``0`` | +-------------------------------------------+-------------------------------------------------------------------------------------------------+-----------------------+ Property Descriptions --------------------- .. _class_GLTFAccessor_property_buffer_view: - :ref:`int` **buffer_view** +-----------+------------------------+ | *Default* | ``0`` | +-----------+------------------------+ | *Setter* | set_buffer_view(value) | +-----------+------------------------+ | *Getter* | get_buffer_view() | +-----------+------------------------+ ---- .. _class_GLTFAccessor_property_byte_offset: - :ref:`int` **byte_offset** +-----------+------------------------+ | *Default* | ``0`` | +-----------+------------------------+ | *Setter* | set_byte_offset(value) | +-----------+------------------------+ | *Getter* | get_byte_offset() | +-----------+------------------------+ ---- .. _class_GLTFAccessor_property_component_type: - :ref:`int` **component_type** +-----------+---------------------------+ | *Default* | ``0`` | +-----------+---------------------------+ | *Setter* | set_component_type(value) | +-----------+---------------------------+ | *Getter* | get_component_type() | +-----------+---------------------------+ ---- .. _class_GLTFAccessor_property_count: - :ref:`int` **count** +-----------+------------------+ | *Default* | ``0`` | +-----------+------------------+ | *Setter* | set_count(value) | +-----------+------------------+ | *Getter* | get_count() | +-----------+------------------+ ---- .. _class_GLTFAccessor_property_max: - :ref:`PoolRealArray` **max** +-----------+-----------------------+ | *Default* | ``PoolRealArray( )`` | +-----------+-----------------------+ | *Setter* | set_max(value) | +-----------+-----------------------+ | *Getter* | get_max() | +-----------+-----------------------+ ---- .. _class_GLTFAccessor_property_min: - :ref:`PoolRealArray` **min** +-----------+-----------------------+ | *Default* | ``PoolRealArray( )`` | +-----------+-----------------------+ | *Setter* | set_min(value) | +-----------+-----------------------+ | *Getter* | get_min() | +-----------+-----------------------+ ---- .. _class_GLTFAccessor_property_normalized: - :ref:`bool` **normalized** +-----------+-----------------------+ | *Default* | ``false`` | +-----------+-----------------------+ | *Setter* | set_normalized(value) | +-----------+-----------------------+ | *Getter* | get_normalized() | +-----------+-----------------------+ ---- .. _class_GLTFAccessor_property_sparse_count: - :ref:`int` **sparse_count** +-----------+-------------------------+ | *Default* | ``0`` | +-----------+-------------------------+ | *Setter* | set_sparse_count(value) | +-----------+-------------------------+ | *Getter* | get_sparse_count() | +-----------+-------------------------+ ---- .. _class_GLTFAccessor_property_sparse_indices_buffer_view: - :ref:`int` **sparse_indices_buffer_view** +-----------+---------------------------------------+ | *Default* | ``0`` | +-----------+---------------------------------------+ | *Setter* | set_sparse_indices_buffer_view(value) | +-----------+---------------------------------------+ | *Getter* | get_sparse_indices_buffer_view() | +-----------+---------------------------------------+ ---- .. _class_GLTFAccessor_property_sparse_indices_byte_offset: - :ref:`int` **sparse_indices_byte_offset** +-----------+---------------------------------------+ | *Default* | ``0`` | +-----------+---------------------------------------+ | *Setter* | set_sparse_indices_byte_offset(value) | +-----------+---------------------------------------+ | *Getter* | get_sparse_indices_byte_offset() | +-----------+---------------------------------------+ ---- .. _class_GLTFAccessor_property_sparse_indices_component_type: - :ref:`int` **sparse_indices_component_type** +-----------+------------------------------------------+ | *Default* | ``0`` | +-----------+------------------------------------------+ | *Setter* | set_sparse_indices_component_type(value) | +-----------+------------------------------------------+ | *Getter* | get_sparse_indices_component_type() | +-----------+------------------------------------------+ ---- .. _class_GLTFAccessor_property_sparse_values_buffer_view: - :ref:`int` **sparse_values_buffer_view** +-----------+--------------------------------------+ | *Default* | ``0`` | +-----------+--------------------------------------+ | *Setter* | set_sparse_values_buffer_view(value) | +-----------+--------------------------------------+ | *Getter* | get_sparse_values_buffer_view() | +-----------+--------------------------------------+ ---- .. _class_GLTFAccessor_property_sparse_values_byte_offset: - :ref:`int` **sparse_values_byte_offset** +-----------+--------------------------------------+ | *Default* | ``0`` | +-----------+--------------------------------------+ | *Setter* | set_sparse_values_byte_offset(value) | +-----------+--------------------------------------+ | *Getter* | get_sparse_values_byte_offset() | +-----------+--------------------------------------+ ---- .. _class_GLTFAccessor_property_type: - :ref:`int` **type** +-----------+-----------------+ | *Default* | ``0`` | +-----------+-----------------+ | *Setter* | set_type(value) | +-----------+-----------------+ | *Getter* | get_type() | +-----------+-----------------+ .. |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.)`