Ejemplo n.º 1
0
            internal static void setTimeFactor(IntPtr thisPtr, float factor)
            {
                if (_setTimeFactorFunc == null)
                {
                    _setTimeFactorFunc =
                        (_setTimeFactor)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                   "fn_afxSelectron_setTimeFactor"), typeof(_setTimeFactor));
                }

                _setTimeFactorFunc(thisPtr, factor);
            }
Ejemplo n.º 2
0
            internal static void setTimeFactor(IntPtr thisPtr, int argc, string[] argv)
            {
                if (_setTimeFactorFunc == null)
                {
                    _setTimeFactorFunc =
                        (_setTimeFactor)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                   "fn_afxMagicSpell_setTimeFactor"), typeof(_setTimeFactor));
                }

                _setTimeFactorFunc(thisPtr, argc, argv);
            }