UnityEngine.VR.WSA.Sharing.WorldAnchorTransferBatch.GetAllIds_Internal C# (CSharp) Method

GetAllIds_Internal() private method

private GetAllIds_Internal ( IntPtr context, string ids ) : int
context System.IntPtr
ids string
return int
        private static extern int GetAllIds_Internal(IntPtr context, string[] ids);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

Ejemplo n.º 1
0
        public int GetAllIds(string[] ids)
        {
            if (ids == null)
            {
                throw new ArgumentNullException("ids");
            }
            int result;

            if (ids.Length > 0)
            {
                result = WorldAnchorTransferBatch.GetAllIds_Internal(this.m_NativePtr, ids);
            }
            else
            {
                result = 0;
            }
            return(result);
        }