CreateProductionNodeObject() 개인적인 메소드

private CreateProductionNodeObject ( IntPtr nodeHandle ) : OpenNI.ProductionNode
nodeHandle System.IntPtr
리턴 OpenNI.ProductionNode
예제 #1
0
        static public ProductionNode CreateProductionNodeFromNative(IntPtr nodeHandle)
        {
            IntPtr  pContext = SafeNativeMethods.xnGetRefContextFromNodeHandle(nodeHandle);
            Context context  = Context.FromNative(pContext);

            SafeNativeMethods.xnContextRelease(pContext);
            return(context.CreateProductionNodeObject(nodeHandle));
        }