private CreateAnyProductionTreeImpl ( NodeType type, |
||
type | NodeType | |
query | ||
Результат |
internal IntPtr CreateAnyProductionTreeImpl(NodeType type, Query query)
{
IntPtr nodeHandle;
using (EnumerationErrors errors = new EnumerationErrors())
{
UInt32 status = OpenNIImporter.xnCreateAnyProductionTree(this.InternalObject, type,
query == null ? IntPtr.Zero : query.InternalObject,
out nodeHandle, errors.InternalObject);
WrapperUtils.CheckEnumeration(status, errors);
}
return nodeHandle;
}
private static IntPtr Create(Context context, Query query) { return(context.CreateAnyProductionTreeImpl(NodeType.Device, query)); }