Ejemplo n.º 1
0
            internal static _ExportHeightMap ExportHeightMap()
            {
                if (_ExportHeightMapFunc == null)
                {
                    _ExportHeightMapFunc =
                        (_ExportHeightMap)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTerrainBlock_exportHeightMap"), typeof(_ExportHeightMap));
                }

                return(_ExportHeightMapFunc);
            }
Ejemplo n.º 2
0
            internal static _ExportHeightMap ExportHeightMap()
            {
                if (_ExportHeightMapFunc == null)
                {
                    _ExportHeightMapFunc =
                        (_ExportHeightMap)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTerrainBlock_exportHeightMap"), typeof(_ExportHeightMap));
                }

                return(_ExportHeightMapFunc);
            }