コード例 #1
0
            internal static _Import Import()
            {
                if (_ImportFunc == null)
                {
                    _ImportFunc =
                        (_Import)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTerrainBlock_import"), typeof(_Import));
                }

                return(_ImportFunc);
            }
コード例 #2
0
            internal static _Import Import()
            {
                if (_ImportFunc == null)
                {
                    _ImportFunc =
                        (_Import)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTerrainBlock_import"), typeof(_Import));
                }

                return(_ImportFunc);
            }