Exemplo n.º 1
0
            internal static _SetWheelSpring SetWheelSpring()
            {
                if (_SetWheelSpringFunc == null)
                {
                    _SetWheelSpringFunc =
                        (_SetWheelSpring)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnWheeledVehicle_setWheelSpring"), typeof(_SetWheelSpring));
                }

                return(_SetWheelSpringFunc);
            }
Exemplo n.º 2
0
            internal static _SetWheelSpring SetWheelSpring()
            {
                if (_SetWheelSpringFunc == null)
                {
                    _SetWheelSpringFunc =
                        (_SetWheelSpring)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnWheeledVehicle_setWheelSpring"), typeof(_SetWheelSpring));
                }

                return(_SetWheelSpringFunc);
            }