Пример #1
0
            internal static _ListObjects ListObjects()
            {
                if (_ListObjectsFunc == null)
                {
                    _ListObjectsFunc =
                        (_ListObjects)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSimSet_listObjects"), typeof(_ListObjects));
                }

                return(_ListObjectsFunc);
            }
Пример #2
0
            internal static _ListObjects ListObjects()
            {
                if (_ListObjectsFunc == null)
                {
                    _ListObjectsFunc =
                        (_ListObjects)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSimSet_listObjects"), typeof(_ListObjects));
                }

                return(_ListObjectsFunc);
            }