Пример #1
0
            internal static _UpdateShape UpdateShape()
            {
                if (_UpdateShapeFunc == null)
                {
                    _UpdateShapeFunc =
                        (_UpdateShape)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiConvexEditorCtrl_updateShape"), typeof(_UpdateShape));
                }

                return(_UpdateShapeFunc);
            }
Пример #2
0
            internal static _UpdateShape UpdateShape()
            {
                if (_UpdateShapeFunc == null)
                {
                    _UpdateShapeFunc =
                        (_UpdateShape)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiConvexEditorCtrl_updateShape"), typeof(_UpdateShape));
                }

                return(_UpdateShapeFunc);
            }