示例#1
0
        public ProductionNode CreateProductionTree(NodeInfo nodeInfo)
        {
            IntPtr nodeHandle;
            UInt32 status = OpenNIImporter.xnCreateProductionTree(this.InternalObject, nodeInfo.InternalObject, out nodeHandle);

            WrapperUtils.CheckStatus(status);
            return(CreateProductionNodeObject(nodeHandle, nodeInfo.GetDescription().Type));
        }