コード例 #1
0
ファイル: afxCamera.cs プロジェクト: lukaspj/T3D.Net-BaseGame
            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);
            }