Partilhar via


AnchorManager.CreateAnchor(AnchorId, Transform, Pose) Método

Definição

Instanciação dependente da plataforma de uma âncora local em determinada posição.

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

Parâmetros

id
AnchorId

ID de âncora para dar uma nova âncora.

parent
UnityEngine.Transform

Objeto do qual desligar a âncora.

initialPose
UnityEngine.Pose

Pose para a âncora.

Retornos

A nova âncora

Aplica-se a