private ProductionNode CreateProductionNodeObject(IntPtr nodeHandle) { return CreateProductionNodeObject(nodeHandle, null); }
static public ProductionNode CreateProductionNodeFromNative(IntPtr nodeHandle) { IntPtr pContext = SafeNativeMethods.xnGetRefContextFromNodeHandle(nodeHandle); Context context = Context.FromNative(pContext); SafeNativeMethods.xnContextRelease(pContext); return(context.CreateProductionNodeObject(nodeHandle)); }