コード例 #1
0
ファイル: DebugDrawer.cs プロジェクト: lukaspj/T3DSharp
            internal static _SetLastTTL SetLastTTL()
            {
                if (_SetLastTTLFunc == null)
                {
                    _SetLastTTLFunc =
                        (_SetLastTTL)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnDebugDrawer_setLastTTL"), typeof(_SetLastTTL));
                }

                return(_SetLastTTLFunc);
            }
コード例 #2
0
            internal static _SetLastTTL SetLastTTL()
            {
                if (_SetLastTTLFunc == null)
                {
                    _SetLastTTLFunc =
                        (_SetLastTTL)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnDebugDrawer_setLastTTL"), typeof(_SetLastTTL));
                }

                return(_SetLastTTLFunc);
            }