示例#1
0
            internal static _SetFlyMode SetFlyMode()
            {
                if (_SetFlyModeFunc == null)
                {
                    _SetFlyModeFunc =
                        (_SetFlyMode)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxCamera_setFlyMode"), typeof(_SetFlyMode));
                }

                return(_SetFlyModeFunc);
            }
示例#2
0
            internal static _SetFlyMode SetFlyMode()
            {
                if (_SetFlyModeFunc == null)
                {
                    _SetFlyModeFunc =
                        (_SetFlyMode)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxCamera_setFlyMode"), typeof(_SetFlyMode));
                }

                return(_SetFlyModeFunc);
            }