AttachmentPoint.Set(FragmentId, Vector3, AnchorId, Vector3) 方法

定义

将附件点的内部设置为新值。

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

定位点的新位移

适用于