Example #1
0
            internal static _GetCount GetCount()
            {
                if (_GetCountFunc == null)
                {
                    _GetCountFunc =
                        (_GetCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSimSet_getCount"), typeof(_GetCount));
                }

                return(_GetCountFunc);
            }
Example #2
0
            internal static _GetCount GetCount()
            {
                if (_GetCountFunc == null)
                {
                    _GetCountFunc =
                        (_GetCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAssetQuery_getCount"), typeof(_GetCount));
                }

                return(_GetCountFunc);
            }