コード例 #1
0
ファイル: afxCamera.cs プロジェクト: lukaspj/T3D.Net-BaseGame
            internal static _GetThirdPersonCOIOffset GetThirdPersonCOIOffset()
            {
                if (_GetThirdPersonCOIOffsetFunc == null)
                {
                    _GetThirdPersonCOIOffsetFunc =
                        (_GetThirdPersonCOIOffset)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxCamera_getThirdPersonCOIOffset"), typeof(_GetThirdPersonCOIOffset));
                }

                return(_GetThirdPersonCOIOffsetFunc);
            }
コード例 #2
0
            internal static _GetThirdPersonCOIOffset GetThirdPersonCOIOffset()
            {
                if (_GetThirdPersonCOIOffsetFunc == null)
                {
                    _GetThirdPersonCOIOffsetFunc =
                        (_GetThirdPersonCOIOffset)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxCamera_getThirdPersonCOIOffset"), typeof(_GetThirdPersonCOIOffset));
                }

                return(_GetThirdPersonCOIOffsetFunc);
            }