OpenNI.Context.CreateProductionNodeObject C# (CSharp) Method

CreateProductionNodeObject() private method

private CreateProductionNodeObject ( IntPtr nodeHandle ) : OpenNI.ProductionNode
nodeHandle System.IntPtr
return OpenNI.ProductionNode
        private ProductionNode CreateProductionNodeObject(IntPtr nodeHandle)
        {
            return CreateProductionNodeObject(nodeHandle, null);
        }

Same methods

Context::CreateProductionNodeObject ( IntPtr nodeHandle, NodeType type ) : OpenNI.ProductionNode

Usage Example

コード例 #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));
        }