Example #1
0
            internal static _GetModel GetModel()
            {
                if (_GetModelFunc == null)
                {
                    _GetModelFunc =
                        (_GetModel)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_getModel"), typeof(_GetModel));
                }

                return(_GetModelFunc);
            }
            internal static _GetModel GetModel()
            {
                if (_GetModelFunc == null)
                {
                    _GetModelFunc =
                        (_GetModel)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_getModel"), typeof(_GetModel));
                }

                return(_GetModelFunc);
            }