internal static float getValue(IntPtr thisPtr, float time)
            {
                if (_getValueFunc == null)
                {
                    _getValueFunc =
                        (_getValue)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                              "fn_SimResponseCurve_getValue"), typeof(_getValue));
                }

                return(_getValueFunc(thisPtr, time));
            }
Beispiel #2
0
            internal static IntPtr getValue(IntPtr thisPtr)
            {
                if (_getValueFunc == null)
                {
                    _getValueFunc =
                        (_getValue)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                              "fn_GuiControl_getValue"), typeof(_getValue));
                }

                return(_getValueFunc(thisPtr));
            }