AttachmentPoint.Set(FragmentId, Vector3, AnchorId, Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set internals of attachment point to new values.
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)
Parameters
- fragmentId
- FragmentId
New fragment
- cachedPosition
- UnityEngine.Vector3
Cache last position moved to.
- anchorId
- AnchorId
New anchor id
- locationFromAnchor
- UnityEngine.Vector3
New displacement from anchor