示例#1
0
        private static IntPtr CreateBasedOn(IRGenerator basedOn, string name)
        {
            IntPtr handle;
            UInt32 status = OpenNIImporter.xnCreateMockNodeBasedOn(basedOn.GetContext().InternalObject,
                                                                   basedOn.InternalObject, name, out handle);

            WrapperUtils.CheckStatus(status);
            return(handle);
        }