ARTrackable

A real-world object in a scene for which ARKit tracks changes to position and orientation.

ARKit跟踪位置和方向变化的场景中的真实世界对象。


Overview

This protocol is adopted by ARKit classes, such as the ARFaceAnchor class, that represent moving objects in a scene. 

ARKit automatically manages representations of such objects in an active AR session, ensuring that changes in the real-world object's position and orientation (the transform property for anchors) are reflected in corresponding ARKit objects. The isTracked property indicates whether the current transform is valid with respect to movement of the real-world object.

概述

该协议被ARKit类所采用,例如ARFaceAnchor类,它们表示场景中的移动对象。

ARKit自动管理活动AR Session中的这些对象的表示,确保现实世界对象的位置和方向(锚的转换属性)的更改反映在相应的ARKit对象中。 isTracked属性指示当前变换对于真实世界对象的移动是否有效。


                     Monitoring Tracking State


isTracked
A Boolean value that indicates whether the object’s transform is valid.
一个布尔值,指示对象的变换是否有效。
Required.

Discussion

If this value is YES, the object’s transform currently matches the position and orientation of the real-world object it represents.

If this value is NO, the object is not guaranteed to match the movement of its corresponding real-world feature, even if it remains in the visible scene.

讨论

如果此值为YES,则该对象的变换当前与它所表示的现实世界对象的位置和方向相匹配。

如果此值为“否”,则不保证该对象与其对应的真实世界特征的移动相匹配,即使该对象保留在可见场景中。


Inherits From NSObject

Adopted By ARFaceAnchor

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,504评论 0 10
  • 往往天气好的时候,走廊里就一片金碧辉煌,好生灿烂!喊上朋友,穿过走廊,登上顶楼,简直闪瞎了眼。云朵的层次分明,耶稣...
    Z寻欢作乐阅读 269评论 0 5
  • 第1章 提高销售成功的几率关键问题: 1. 本章总结中说:“销售成功的基础是因果关系。”怎么理解这句话? 首先,因...
    四季海棠花阅读 139评论 0 0
  • 人到中年,生活多是越过越明白, 事是越悟越透彻, 慢慢形成独特的个体, 回头来, 一切皆是浮云,唯有自我才是最真实...
    紫陌素荷2阅读 257评论 1 0
  • 首先面临的最大问题,没想到事情变那么大,晚上近10点才完全修好,心好累,猫全程对修马桶表现出强烈的关心。 如果没有...
    从良人阅读 152评论 0 1