AttachmentPoint.Set(FragmentId, Vector3, AnchorId, Vector3) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将附件点的内部设置为新值。
public void Set (Microsoft.MixedReality.WorldLocking.Core.FragmentId fragmentId, UnityEngine.Vector3 cachedPosition, Microsoft.MixedReality.WorldLocking.Core.AnchorId anchorId, UnityEngine.Vector3 locationFromAnchor);
member this.Set : Microsoft.MixedReality.WorldLocking.Core.FragmentId * UnityEngine.Vector3 * Microsoft.MixedReality.WorldLocking.Core.AnchorId * UnityEngine.Vector3 -> unit
Public Sub Set (fragmentId As FragmentId, cachedPosition As Vector3, anchorId As AnchorId, locationFromAnchor As Vector3)
参数
- fragmentId
- FragmentId
新片段
- cachedPosition
- UnityEngine.Vector3
缓存移动到的最后一个位置。
- anchorId
- AnchorId
新定位点 ID
- locationFromAnchor
- UnityEngine.Vector3
定位点的新位移