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 by 6 bits, minimum Hamming distance between any two codes = 10, 2320 codes.
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 🔗
返回该配置启用的组件。
注意:仅在该配置用于创建空间上下文后有效。