:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the GLTFNode.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_GLTFNode: GLTFNode ======== **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` Properties ---------- +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`camera` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`PackedInt32Array` | :ref:`children` | ``PackedInt32Array()`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`height` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`bool` | :ref:`joint` | ``false`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`light` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`mesh` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`parent` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`Vector3` | :ref:`position` | ``Vector3(0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`Quaternion` | :ref:`rotation` | ``Quaternion(0, 0, 0, 1)`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`Vector3` | :ref:`scale` | ``Vector3(1, 1, 1)`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`skeleton` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`skin` | ``-1`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ | :ref:`Transform3D` | :ref:`xform` | ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------+-----------------------------------------------------+ Property Descriptions --------------------- .. _class_GLTFNode_property_camera: - :ref:`int` **camera** +-----------+-------------------+ | *Default* | ``-1`` | +-----------+-------------------+ | *Setter* | set_camera(value) | +-----------+-------------------+ | *Getter* | get_camera() | +-----------+-------------------+ ---- .. _class_GLTFNode_property_children: - :ref:`PackedInt32Array` **children** +-----------+------------------------+ | *Default* | ``PackedInt32Array()`` | +-----------+------------------------+ | *Setter* | set_children(value) | +-----------+------------------------+ | *Getter* | get_children() | +-----------+------------------------+ ---- .. _class_GLTFNode_property_height: - :ref:`int` **height** +-----------+-------------------+ | *Default* | ``-1`` | +-----------+-------------------+ | *Setter* | set_height(value) | +-----------+-------------------+ | *Getter* | get_height() | +-----------+-------------------+ ---- .. _class_GLTFNode_property_joint: - :ref:`bool` **joint** +-----------+------------------+ | *Default* | ``false`` | +-----------+------------------+ | *Setter* | set_joint(value) | +-----------+------------------+ | *Getter* | get_joint() | +-----------+------------------+ ---- .. _class_GLTFNode_property_light: - :ref:`int` **light** +-----------+------------------+ | *Default* | ``-1`` | +-----------+------------------+ | *Setter* | set_light(value) | +-----------+------------------+ | *Getter* | get_light() | +-----------+------------------+ ---- .. _class_GLTFNode_property_mesh: - :ref:`int` **mesh** +-----------+-----------------+ | *Default* | ``-1`` | +-----------+-----------------+ | *Setter* | set_mesh(value) | +-----------+-----------------+ | *Getter* | get_mesh() | +-----------+-----------------+ ---- .. _class_GLTFNode_property_parent: - :ref:`int` **parent** +-----------+-------------------+ | *Default* | ``-1`` | +-----------+-------------------+ | *Setter* | set_parent(value) | +-----------+-------------------+ | *Getter* | get_parent() | +-----------+-------------------+ ---- .. _class_GLTFNode_property_position: - :ref:`Vector3` **position** +-----------+----------------------+ | *Default* | ``Vector3(0, 0, 0)`` | +-----------+----------------------+ | *Setter* | set_position(value) | +-----------+----------------------+ | *Getter* | get_position() | +-----------+----------------------+ ---- .. _class_GLTFNode_property_rotation: - :ref:`Quaternion` **rotation** +-----------+----------------------------+ | *Default* | ``Quaternion(0, 0, 0, 1)`` | +-----------+----------------------------+ | *Setter* | set_rotation(value) | +-----------+----------------------------+ | *Getter* | get_rotation() | +-----------+----------------------------+ ---- .. _class_GLTFNode_property_scale: - :ref:`Vector3` **scale** +-----------+----------------------+ | *Default* | ``Vector3(1, 1, 1)`` | +-----------+----------------------+ | *Setter* | set_scale(value) | +-----------+----------------------+ | *Getter* | get_scale() | +-----------+----------------------+ ---- .. _class_GLTFNode_property_skeleton: - :ref:`int` **skeleton** +-----------+---------------------+ | *Default* | ``-1`` | +-----------+---------------------+ | *Setter* | set_skeleton(value) | +-----------+---------------------+ | *Getter* | get_skeleton() | +-----------+---------------------+ ---- .. _class_GLTFNode_property_skin: - :ref:`int` **skin** +-----------+-----------------+ | *Default* | ``-1`` | +-----------+-----------------+ | *Setter* | set_skin(value) | +-----------+-----------------+ | *Getter* | get_skin() | +-----------+-----------------+ ---- .. _class_GLTFNode_property_xform: - :ref:`Transform3D` **xform** +-----------+-----------------------------------------------------+ | *Default* | ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` | +-----------+-----------------------------------------------------+ | *Setter* | set_xform(value) | +-----------+-----------------------------------------------------+ | *Getter* | get_xform() | +-----------+-----------------------------------------------------+ .. |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.)`