internal static IntPtr getParent(IntPtr thisPtr) { if (_getParentFunc == null) { _getParentFunc = (_getParent)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiControl_getParent"), typeof(_getParent)); } return(_getParentFunc(thisPtr)); }
internal static int getParent(IntPtr thisPtr, int nodeValue) { if (_getParentFunc == null) { _getParentFunc = (_getParent)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_CreatorTree_getParent"), typeof(_getParent)); } return(_getParentFunc(thisPtr, nodeValue)); }