123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- :github_url: hide
- .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the GLTFAccessor.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_GLTFAccessor:
- GLTFAccessor
- ============
- **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
- Properties
- ----------
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`buffer_view<class_GLTFAccessor_property_buffer_view>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`byte_offset<class_GLTFAccessor_property_byte_offset>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`component_type<class_GLTFAccessor_property_component_type>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`count<class_GLTFAccessor_property_count>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`PackedFloat64Array<class_PackedFloat64Array>` | :ref:`max<class_GLTFAccessor_property_max>` | ``PackedFloat64Array()`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`PackedFloat64Array<class_PackedFloat64Array>` | :ref:`min<class_GLTFAccessor_property_min>` | ``PackedFloat64Array()`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`bool<class_bool>` | :ref:`normalized<class_GLTFAccessor_property_normalized>` | ``false`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`sparse_count<class_GLTFAccessor_property_sparse_count>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`sparse_indices_buffer_view<class_GLTFAccessor_property_sparse_indices_buffer_view>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`sparse_indices_byte_offset<class_GLTFAccessor_property_sparse_indices_byte_offset>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`sparse_indices_component_type<class_GLTFAccessor_property_sparse_indices_component_type>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`sparse_values_buffer_view<class_GLTFAccessor_property_sparse_values_buffer_view>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`sparse_values_byte_offset<class_GLTFAccessor_property_sparse_values_byte_offset>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- | :ref:`int<class_int>` | :ref:`type<class_GLTFAccessor_property_type>` | ``0`` |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+--------------------------+
- Property Descriptions
- ---------------------
- .. _class_GLTFAccessor_property_buffer_view:
- - :ref:`int<class_int>` **buffer_view**
- +-----------+------------------------+
- | *Default* | ``0`` |
- +-----------+------------------------+
- | *Setter* | set_buffer_view(value) |
- +-----------+------------------------+
- | *Getter* | get_buffer_view() |
- +-----------+------------------------+
- ----
- .. _class_GLTFAccessor_property_byte_offset:
- - :ref:`int<class_int>` **byte_offset**
- +-----------+------------------------+
- | *Default* | ``0`` |
- +-----------+------------------------+
- | *Setter* | set_byte_offset(value) |
- +-----------+------------------------+
- | *Getter* | get_byte_offset() |
- +-----------+------------------------+
- ----
- .. _class_GLTFAccessor_property_component_type:
- - :ref:`int<class_int>` **component_type**
- +-----------+---------------------------+
- | *Default* | ``0`` |
- +-----------+---------------------------+
- | *Setter* | set_component_type(value) |
- +-----------+---------------------------+
- | *Getter* | get_component_type() |
- +-----------+---------------------------+
- ----
- .. _class_GLTFAccessor_property_count:
- - :ref:`int<class_int>` **count**
- +-----------+------------------+
- | *Default* | ``0`` |
- +-----------+------------------+
- | *Setter* | set_count(value) |
- +-----------+------------------+
- | *Getter* | get_count() |
- +-----------+------------------+
- ----
- .. _class_GLTFAccessor_property_max:
- - :ref:`PackedFloat64Array<class_PackedFloat64Array>` **max**
- +-----------+--------------------------+
- | *Default* | ``PackedFloat64Array()`` |
- +-----------+--------------------------+
- | *Setter* | set_max(value) |
- +-----------+--------------------------+
- | *Getter* | get_max() |
- +-----------+--------------------------+
- ----
- .. _class_GLTFAccessor_property_min:
- - :ref:`PackedFloat64Array<class_PackedFloat64Array>` **min**
- +-----------+--------------------------+
- | *Default* | ``PackedFloat64Array()`` |
- +-----------+--------------------------+
- | *Setter* | set_min(value) |
- +-----------+--------------------------+
- | *Getter* | get_min() |
- +-----------+--------------------------+
- ----
- .. _class_GLTFAccessor_property_normalized:
- - :ref:`bool<class_bool>` **normalized**
- +-----------+-----------------------+
- | *Default* | ``false`` |
- +-----------+-----------------------+
- | *Setter* | set_normalized(value) |
- +-----------+-----------------------+
- | *Getter* | get_normalized() |
- +-----------+-----------------------+
- ----
- .. _class_GLTFAccessor_property_sparse_count:
- - :ref:`int<class_int>` **sparse_count**
- +-----------+-------------------------+
- | *Default* | ``0`` |
- +-----------+-------------------------+
- | *Setter* | set_sparse_count(value) |
- +-----------+-------------------------+
- | *Getter* | get_sparse_count() |
- +-----------+-------------------------+
- ----
- .. _class_GLTFAccessor_property_sparse_indices_buffer_view:
- - :ref:`int<class_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<class_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<class_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<class_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<class_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<class_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.)`
- .. |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.)`
|