AddWorldAnchor_Internal() private méthode

private AddWorldAnchor_Internal ( IntPtr context, string id, WorldAnchor anchor ) : bool
context System.IntPtr
id string
anchor UnityEngine.VR.WSA.WorldAnchor
Résultat bool
Exemple #1
0
 public bool AddWorldAnchor(string id, WorldAnchor anchor)
 {
     if (string.IsNullOrEmpty(id))
     {
         throw new ArgumentException("id is null or empty!", "id");
     }
     if (anchor == null)
     {
         throw new ArgumentNullException("anchor");
     }
     return(WorldAnchorTransferBatch.AddWorldAnchor_Internal(this.m_NativePtr, id, anchor));
 }