Exemple #1
0
            internal static _GetWheelCount GetWheelCount()
            {
                if (_GetWheelCountFunc == null)
                {
                    _GetWheelCountFunc =
                        (_GetWheelCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnWheeledVehicle_getWheelCount"), typeof(_GetWheelCount));
                }

                return(_GetWheelCountFunc);
            }
Exemple #2
0
            internal static _GetWheelCount GetWheelCount()
            {
                if (_GetWheelCountFunc == null)
                {
                    _GetWheelCountFunc =
                        (_GetWheelCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnWheeledVehicle_getWheelCount"), typeof(_GetWheelCount));
                }

                return(_GetWheelCountFunc);
            }