AdjusterMoving 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于处理动态 (移动) 对象的冻结世界调整的组件。
public class AdjusterMoving : Microsoft.MixedReality.WorldLocking.Tools.AdjusterFixed
type AdjusterMoving = class
inherit AdjusterFixed
Public Class AdjusterMoving
Inherits AdjusterFixed
- 继承
注解
对于固定对象,请使用 AdjusterFixed。
此组件使用 Unity Update 传递使 World Locking Tools 系统能够了解目标对象的位置。 虽然该操作很便宜,但对于固定对象,最好避免仅增加更新 () 的成本。
如果对象在脚本控制下不经常移动,请考虑使用 AdjusterFixed,并在使用 UpdatePosition()移动后通知它。
构造函数
AdjusterMoving() |
用于处理动态 (移动) 对象的冻结世界调整的组件。 |
属性
AttachmentPoint |
此组件包装的附件点。 (继承自 AdjusterFixed) |
Manager |
此组件订阅的附件点管理器接口。 (继承自 AdjusterFixed) |
方法
HandleAdjustLocation(Pose) |
处理因调整操作而导致的姿势调整。 (继承自 AdjusterFixed) |
HandleAdjustState(AttachmentPointStateType) |
处理关联片段状态的更改。 (继承自 AdjusterFixed) |
UpdatePosition() |
对于在脚本控制下不经常移动,UpdatePosition 会通知系统对象已重定位。 它应在对象 (的任何脚本化移动之后调用, 而不是 在 WLT 触发的移动之后调用,例如在) 中 HandleAdjustLocation(Pose) 。 (继承自 AdjusterFixed) |