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
新增錨點標識碼
- locationFromAnchor
- UnityEngine.Vector3
錨點的新位移