Пример #1
0
            internal static _SetWheelSpring SetWheelSpring()
            {
                if (_SetWheelSpringFunc == null)
                {
                    _SetWheelSpringFunc =
                        (_SetWheelSpring)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnWheeledVehicle_setWheelSpring"), typeof(_SetWheelSpring));
                }

                return(_SetWheelSpringFunc);
            }
Пример #2
0
            internal static _SetWheelSpring SetWheelSpring()
            {
                if (_SetWheelSpringFunc == null)
                {
                    _SetWheelSpringFunc =
                        (_SetWheelSpring)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnWheeledVehicle_setWheelSpring"), typeof(_SetWheelSpring));
                }

                return(_SetWheelSpringFunc);
            }