123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876 |
- :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/doc/classes/XRBodyTracker.xml.
- .. _class_XRBodyTracker:
- XRBodyTracker
- =============
- **Experimental:** This class may be changed or removed in future versions.
- **Inherits:** :ref:`XRPositionalTracker<class_XRPositionalTracker>` **<** :ref:`XRTracker<class_XRTracker>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
- A tracked body in XR.
- .. rst-class:: classref-introduction-group
- Description
- -----------
- A body tracking system will create an instance of this object and add it to the :ref:`XRServer<class_XRServer>`. This tracking system will then obtain skeleton data, convert it to the Godot Humanoid skeleton and store this data on the **XRBodyTracker** object.
- Use :ref:`XRBodyModifier3D<class_XRBodyModifier3D>` to animate a body mesh using body tracking data.
- .. rst-class:: classref-introduction-group
- Tutorials
- ---------
- - :doc:`XR documentation index <../tutorials/xr/index>`
- .. rst-class:: classref-reftable-group
- Properties
- ----------
- .. table::
- :widths: auto
- +--------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------+
- | |bitfield|\[:ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>`\] | :ref:`body_flags<class_XRBodyTracker_property_body_flags>` | ``0`` |
- +--------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`has_tracking_data<class_XRBodyTracker_property_has_tracking_data>` | ``false`` |
- +--------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------+
- | :ref:`TrackerType<enum_XRServer_TrackerType>` | type | ``32`` (overrides :ref:`XRTracker<class_XRTracker_property_type>`) |
- +--------------------------------------------------------------+--------------------------------------------------------------------------+--------------------------------------------------------------------+
- .. rst-class:: classref-reftable-group
- Methods
- -------
- .. table::
- :widths: auto
- +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |bitfield|\[:ref:`JointFlags<enum_XRBodyTracker_JointFlags>`\] | :ref:`get_joint_flags<class_XRBodyTracker_method_get_joint_flags>`\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`\ ) |const| |
- +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Transform3D<class_Transform3D>` | :ref:`get_joint_transform<class_XRBodyTracker_method_get_joint_transform>`\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`\ ) |const| |
- +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`set_joint_flags<class_XRBodyTracker_method_set_joint_flags>`\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`, flags\: |bitfield|\[:ref:`JointFlags<enum_XRBodyTracker_JointFlags>`\]\ ) |
- +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | |void| | :ref:`set_joint_transform<class_XRBodyTracker_method_set_joint_transform>`\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`, transform\: :ref:`Transform3D<class_Transform3D>`\ ) |
- +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Enumerations
- ------------
- .. _enum_XRBodyTracker_BodyFlags:
- .. rst-class:: classref-enumeration
- flags **BodyFlags**: :ref:`🔗<enum_XRBodyTracker_BodyFlags>`
- .. _class_XRBodyTracker_constant_BODY_FLAG_UPPER_BODY_SUPPORTED:
- .. rst-class:: classref-enumeration-constant
- :ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>` **BODY_FLAG_UPPER_BODY_SUPPORTED** = ``1``
- Upper body tracking supported.
- .. _class_XRBodyTracker_constant_BODY_FLAG_LOWER_BODY_SUPPORTED:
- .. rst-class:: classref-enumeration-constant
- :ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>` **BODY_FLAG_LOWER_BODY_SUPPORTED** = ``2``
- Lower body tracking supported.
- .. _class_XRBodyTracker_constant_BODY_FLAG_HANDS_SUPPORTED:
- .. rst-class:: classref-enumeration-constant
- :ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>` **BODY_FLAG_HANDS_SUPPORTED** = ``4``
- Hand tracking supported.
- .. rst-class:: classref-item-separator
- ----
- .. _enum_XRBodyTracker_Joint:
- .. rst-class:: classref-enumeration
- enum **Joint**: :ref:`🔗<enum_XRBodyTracker_Joint>`
- .. _class_XRBodyTracker_constant_JOINT_ROOT:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_ROOT** = ``0``
- Root joint.
- .. _class_XRBodyTracker_constant_JOINT_HIPS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_HIPS** = ``1``
- Hips joint.
- .. _class_XRBodyTracker_constant_JOINT_SPINE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_SPINE** = ``2``
- Spine joint.
- .. _class_XRBodyTracker_constant_JOINT_CHEST:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_CHEST** = ``3``
- Chest joint.
- .. _class_XRBodyTracker_constant_JOINT_UPPER_CHEST:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_UPPER_CHEST** = ``4``
- Upper chest joint.
- .. _class_XRBodyTracker_constant_JOINT_NECK:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_NECK** = ``5``
- Neck joint.
- .. _class_XRBodyTracker_constant_JOINT_HEAD:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_HEAD** = ``6``
- Head joint.
- .. _class_XRBodyTracker_constant_JOINT_HEAD_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_HEAD_TIP** = ``7``
- Head tip joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_SHOULDER:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_SHOULDER** = ``8``
- Left shoulder joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_UPPER_ARM:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_UPPER_ARM** = ``9``
- Left upper arm joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_LOWER_ARM:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_LOWER_ARM** = ``10``
- Left lower arm joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_SHOULDER:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_SHOULDER** = ``11``
- Right shoulder joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_UPPER_ARM:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_UPPER_ARM** = ``12``
- Right upper arm joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_LOWER_ARM:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_LOWER_ARM** = ``13``
- Right lower arm joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_UPPER_LEG:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_UPPER_LEG** = ``14``
- Left upper leg joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_LOWER_LEG:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_LOWER_LEG** = ``15``
- Left lower leg joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_FOOT:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_FOOT** = ``16``
- Left foot joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_TOES:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_TOES** = ``17``
- Left toes joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_UPPER_LEG:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_UPPER_LEG** = ``18``
- Right upper leg joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_LOWER_LEG:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_LOWER_LEG** = ``19``
- Right lower leg joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_FOOT:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_FOOT** = ``20``
- Right foot joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_TOES:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_TOES** = ``21``
- Right toes joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_HAND:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_HAND** = ``22``
- Left hand joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_PALM:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_PALM** = ``23``
- Left palm joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_WRIST:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_WRIST** = ``24``
- Left wrist joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_THUMB_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_THUMB_METACARPAL** = ``25``
- Left thumb metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_THUMB_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_THUMB_PHALANX_PROXIMAL** = ``26``
- Left thumb phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_THUMB_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_THUMB_PHALANX_DISTAL** = ``27``
- Left thumb phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_THUMB_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_THUMB_TIP** = ``28``
- Left thumb tip joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_INDEX_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_INDEX_FINGER_METACARPAL** = ``29``
- Left index finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_INDEX_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_INDEX_FINGER_PHALANX_PROXIMAL** = ``30``
- Left index finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_INDEX_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_INDEX_FINGER_PHALANX_INTERMEDIATE** = ``31``
- Left index finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_INDEX_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_INDEX_FINGER_PHALANX_DISTAL** = ``32``
- Left index finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_INDEX_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_INDEX_FINGER_TIP** = ``33``
- Left index finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_MIDDLE_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_MIDDLE_FINGER_METACARPAL** = ``34``
- Left middle finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_MIDDLE_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_MIDDLE_FINGER_PHALANX_PROXIMAL** = ``35``
- Left middle finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_MIDDLE_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_MIDDLE_FINGER_PHALANX_INTERMEDIATE** = ``36``
- Left middle finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_MIDDLE_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_MIDDLE_FINGER_PHALANX_DISTAL** = ``37``
- Left middle finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_MIDDLE_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_MIDDLE_FINGER_TIP** = ``38``
- Left middle finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_RING_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_RING_FINGER_METACARPAL** = ``39``
- Left ring finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_RING_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_RING_FINGER_PHALANX_PROXIMAL** = ``40``
- Left ring finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_RING_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_RING_FINGER_PHALANX_INTERMEDIATE** = ``41``
- Left ring finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_RING_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_RING_FINGER_PHALANX_DISTAL** = ``42``
- Left ring finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_RING_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_RING_FINGER_TIP** = ``43``
- Left ring finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_PINKY_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_PINKY_FINGER_METACARPAL** = ``44``
- Left pinky finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_PINKY_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_PINKY_FINGER_PHALANX_PROXIMAL** = ``45``
- Left pinky finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_PINKY_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_PINKY_FINGER_PHALANX_INTERMEDIATE** = ``46``
- Left pinky finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_PINKY_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_PINKY_FINGER_PHALANX_DISTAL** = ``47``
- Left pinky finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_LEFT_PINKY_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_LEFT_PINKY_FINGER_TIP** = ``48``
- Left pinky finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_HAND:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_HAND** = ``49``
- Right hand joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_PALM:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_PALM** = ``50``
- Right palm joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_WRIST:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_WRIST** = ``51``
- Right wrist joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_THUMB_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_THUMB_METACARPAL** = ``52``
- Right thumb metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_THUMB_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_THUMB_PHALANX_PROXIMAL** = ``53``
- Right thumb phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_THUMB_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_THUMB_PHALANX_DISTAL** = ``54``
- Right thumb phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_THUMB_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_THUMB_TIP** = ``55``
- Right thumb tip joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_INDEX_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_INDEX_FINGER_METACARPAL** = ``56``
- Right index finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_INDEX_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_INDEX_FINGER_PHALANX_PROXIMAL** = ``57``
- Right index finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_INDEX_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_INDEX_FINGER_PHALANX_INTERMEDIATE** = ``58``
- Right index finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_INDEX_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_INDEX_FINGER_PHALANX_DISTAL** = ``59``
- Right index finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_INDEX_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_INDEX_FINGER_TIP** = ``60``
- Right index finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_MIDDLE_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_MIDDLE_FINGER_METACARPAL** = ``61``
- Right middle finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_MIDDLE_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_MIDDLE_FINGER_PHALANX_PROXIMAL** = ``62``
- Right middle finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_MIDDLE_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_MIDDLE_FINGER_PHALANX_INTERMEDIATE** = ``63``
- Right middle finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_MIDDLE_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_MIDDLE_FINGER_PHALANX_DISTAL** = ``64``
- Right middle finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_MIDDLE_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_MIDDLE_FINGER_TIP** = ``65``
- Right middle finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_RING_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_RING_FINGER_METACARPAL** = ``66``
- Right ring finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_RING_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_RING_FINGER_PHALANX_PROXIMAL** = ``67``
- Right ring finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_RING_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_RING_FINGER_PHALANX_INTERMEDIATE** = ``68``
- Right ring finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_RING_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_RING_FINGER_PHALANX_DISTAL** = ``69``
- Right ring finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_RING_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_RING_FINGER_TIP** = ``70``
- Right ring finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_PINKY_FINGER_METACARPAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_PINKY_FINGER_METACARPAL** = ``71``
- Right pinky finger metacarpal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_PINKY_FINGER_PHALANX_PROXIMAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_PINKY_FINGER_PHALANX_PROXIMAL** = ``72``
- Right pinky finger phalanx proximal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_PINKY_FINGER_PHALANX_INTERMEDIATE:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_PINKY_FINGER_PHALANX_INTERMEDIATE** = ``73``
- Right pinky finger phalanx intermediate joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_PINKY_FINGER_PHALANX_DISTAL:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_PINKY_FINGER_PHALANX_DISTAL** = ``74``
- Right pinky finger phalanx distal joint.
- .. _class_XRBodyTracker_constant_JOINT_RIGHT_PINKY_FINGER_TIP:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_RIGHT_PINKY_FINGER_TIP** = ``75``
- Right pinky finger tip joint.
- .. _class_XRBodyTracker_constant_JOINT_MAX:
- .. rst-class:: classref-enumeration-constant
- :ref:`Joint<enum_XRBodyTracker_Joint>` **JOINT_MAX** = ``76``
- Represents the size of the :ref:`Joint<enum_XRBodyTracker_Joint>` enum.
- .. rst-class:: classref-item-separator
- ----
- .. _enum_XRBodyTracker_JointFlags:
- .. rst-class:: classref-enumeration
- flags **JointFlags**: :ref:`🔗<enum_XRBodyTracker_JointFlags>`
- .. _class_XRBodyTracker_constant_JOINT_FLAG_ORIENTATION_VALID:
- .. rst-class:: classref-enumeration-constant
- :ref:`JointFlags<enum_XRBodyTracker_JointFlags>` **JOINT_FLAG_ORIENTATION_VALID** = ``1``
- The joint's orientation data is valid.
- .. _class_XRBodyTracker_constant_JOINT_FLAG_ORIENTATION_TRACKED:
- .. rst-class:: classref-enumeration-constant
- :ref:`JointFlags<enum_XRBodyTracker_JointFlags>` **JOINT_FLAG_ORIENTATION_TRACKED** = ``2``
- The joint's orientation is actively tracked. May not be set if tracking has been temporarily lost.
- .. _class_XRBodyTracker_constant_JOINT_FLAG_POSITION_VALID:
- .. rst-class:: classref-enumeration-constant
- :ref:`JointFlags<enum_XRBodyTracker_JointFlags>` **JOINT_FLAG_POSITION_VALID** = ``4``
- The joint's position data is valid.
- .. _class_XRBodyTracker_constant_JOINT_FLAG_POSITION_TRACKED:
- .. rst-class:: classref-enumeration-constant
- :ref:`JointFlags<enum_XRBodyTracker_JointFlags>` **JOINT_FLAG_POSITION_TRACKED** = ``8``
- The joint's position is actively tracked. May not be set if tracking has been temporarily lost.
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Property Descriptions
- ---------------------
- .. _class_XRBodyTracker_property_body_flags:
- .. rst-class:: classref-property
- |bitfield|\[:ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>`\] **body_flags** = ``0`` :ref:`🔗<class_XRBodyTracker_property_body_flags>`
- .. rst-class:: classref-property-setget
- - |void| **set_body_flags**\ (\ value\: |bitfield|\[:ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>`\]\ )
- - |bitfield|\[:ref:`BodyFlags<enum_XRBodyTracker_BodyFlags>`\] **get_body_flags**\ (\ )
- The type of body tracking data captured.
- .. rst-class:: classref-item-separator
- ----
- .. _class_XRBodyTracker_property_has_tracking_data:
- .. rst-class:: classref-property
- :ref:`bool<class_bool>` **has_tracking_data** = ``false`` :ref:`🔗<class_XRBodyTracker_property_has_tracking_data>`
- .. rst-class:: classref-property-setget
- - |void| **set_has_tracking_data**\ (\ value\: :ref:`bool<class_bool>`\ )
- - :ref:`bool<class_bool>` **get_has_tracking_data**\ (\ )
- If ``true``, the body tracking data is valid.
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Method Descriptions
- -------------------
- .. _class_XRBodyTracker_method_get_joint_flags:
- .. rst-class:: classref-method
- |bitfield|\[:ref:`JointFlags<enum_XRBodyTracker_JointFlags>`\] **get_joint_flags**\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`\ ) |const| :ref:`🔗<class_XRBodyTracker_method_get_joint_flags>`
- Returns flags about the validity of the tracking data for the given body joint (see :ref:`JointFlags<enum_XRBodyTracker_JointFlags>`).
- .. rst-class:: classref-item-separator
- ----
- .. _class_XRBodyTracker_method_get_joint_transform:
- .. rst-class:: classref-method
- :ref:`Transform3D<class_Transform3D>` **get_joint_transform**\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`\ ) |const| :ref:`🔗<class_XRBodyTracker_method_get_joint_transform>`
- Returns the transform for the given body joint.
- .. rst-class:: classref-item-separator
- ----
- .. _class_XRBodyTracker_method_set_joint_flags:
- .. rst-class:: classref-method
- |void| **set_joint_flags**\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`, flags\: |bitfield|\[:ref:`JointFlags<enum_XRBodyTracker_JointFlags>`\]\ ) :ref:`🔗<class_XRBodyTracker_method_set_joint_flags>`
- Sets flags about the validity of the tracking data for the given body joint.
- .. rst-class:: classref-item-separator
- ----
- .. _class_XRBodyTracker_method_set_joint_transform:
- .. rst-class:: classref-method
- |void| **set_joint_transform**\ (\ joint\: :ref:`Joint<enum_XRBodyTracker_Joint>`, transform\: :ref:`Transform3D<class_Transform3D>`\ ) :ref:`🔗<class_XRBodyTracker_method_set_joint_transform>`
- Sets the transform for the given body joint.
- .. |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.)`
- .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
- .. |void| replace:: :abbr:`void (No return value.)`
|