UnityEngine.VR.WSA.Sharing.WorldAnchorTransferBatch.AddWorldAnchor_Internal C# (CSharp) Méthode

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
        private static extern bool AddWorldAnchor_Internal(IntPtr context, string id, WorldAnchor anchor);
        private static IntPtr Create_Internal()

Usage Example

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));
 }