AnchorManager.CreateAnchor(AnchorId, Transform, Pose) 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.
Platform dependent instantiation of a local anchor at given position.
protected abstract Microsoft.MixedReality.WorldLocking.Core.SpongyAnchor CreateAnchor (Microsoft.MixedReality.WorldLocking.Core.AnchorId id, UnityEngine.Transform parent, UnityEngine.Pose initialPose);
abstract member CreateAnchor : Microsoft.MixedReality.WorldLocking.Core.AnchorId * UnityEngine.Transform * UnityEngine.Pose -> Microsoft.MixedReality.WorldLocking.Core.SpongyAnchor
Protected MustOverride Function CreateAnchor (id As AnchorId, parent As Transform, initialPose As Pose) As SpongyAnchor
Parameters
- id
- AnchorId
Anchor id to give new anchor.
- parent
- UnityEngine.Transform
Object to hang anchor off of.
- initialPose
- UnityEngine.Pose
Pose for the anchor.
Returns
The new anchor