Пример #1
0
            internal static _InsertLine InsertLine()
            {
                if (_InsertLineFunc == null)
                {
                    _InsertLineFunc =
                        (_InsertLine)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnMessageVector_insertLine"), typeof(_InsertLine));
                }

                return(_InsertLineFunc);
            }
Пример #2
0
            internal static _InsertLine InsertLine()
            {
                if (_InsertLineFunc == null)
                {
                    _InsertLineFunc =
                        (_InsertLine)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnMessageVector_insertLine"), typeof(_InsertLine));
                }

                return(_InsertLineFunc);
            }