예제 #1
0
 public static int arwAddMarker(string cfg)
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         return(ARNativePluginStatic.arwAddMarker(cfg));
     }
     else
     {
         return(ARNativePlugin.arwAddMarker(cfg));
     }
 }
 /// <summary>
 /// Takes the marker configuration string
 /// </summary>
 /// <param name="cfg">Sample configurations:
 /// single;data/hiro.patt;80
 /// single_buffer;80;buffer=234 221 237...
 /// single_barcode;0;80
 /// multi;data/multi/marker.dat
 /// nft;data/nft/pinball</param>
 /// <returns> marker id for further usage</returns>
 public int arwAddMarker(string cfg)
 {
     return(ARNativePlugin.arwAddMarker(cfg));
 }