Exemple #1
0
            internal static _SetMount SetMount()
            {
                if (_SetMountFunc == null)
                {
                    _SetMountFunc =
                        (_SetMount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_setMount"), typeof(_SetMount));
                }

                return(_SetMountFunc);
            }
            internal static _SetMount SetMount()
            {
                if (_SetMountFunc == null)
                {
                    _SetMountFunc =
                        (_SetMount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_setMount"), typeof(_SetMount));
                }

                return(_SetMountFunc);
            }