Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRSpatialCapabilityConfigurationAprilTag
實驗性: This class may be changed or removed in future versions.
繼承: OpenXRSpatialCapabilityConfigurationBaseHeader < RefCounted < Object
用於 AprilTag 標記的設定標頭。
說明
用於 AprilTag 標記的設定標頭。將它傳遞給 OpenXRSpatialEntityExtension.create_spatial_context() 即可建立一個可以檢測 AprilTag 標記的空間情境。
屬性
|
方法
get_enabled_components() const |
列舉
enum AprilTagDict: 🔗
AprilTagDict APRIL_TAG_DICT_16H5 = 1
4 位元 x 4 位元,任意兩個碼之間的最小漢明距離 = 5,30 個碼。
AprilTagDict APRIL_TAG_DICT_25H9 = 2
5 位元 x 5 位元,任意兩個碼之間的最小漢明距離 = 9,35 個碼。
AprilTagDict APRIL_TAG_DICT_36H10 = 3
6 位元 x 6 位元,任意兩個碼之間的最小漢明距離 = 10,2320 個碼。
AprilTagDict APRIL_TAG_DICT_36H11 = 4
6 位元 x 6 位元,任意兩個碼之間的最小漢明距離 = 11,587 個碼。
屬性說明
AprilTagDict april_dict = 4 🔗
void set_april_dict(value: AprilTagDict)
AprilTagDict get_april_dict()
用於解碼 April 標籤的字典。
注意:必須在使用該設定建立空間情境之前設定。
方法說明
PackedInt64Array get_enabled_components() const 🔗
回傳該設定啟用的元件。
注意:僅在該設定用於建立空間情境後有效。