// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { public static partial class Jolt { public static unsafe partial class PInvoke { /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:38 ///
/// explicit WheelTV(const WheelSettingsTV &inWheel) ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "WheelTV_Create")] public static partial WheelTV WheelTV_Create(WheelSettingsTV wheel); [LibraryImport("jolt", EntryPoint = "WheelTV_Destroy")] public static partial void WheelTV_Destroy(WheelTV self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:41 ///
/// const WheelSettingsTV * GetSettings() const ///
///
/// /// /// Override GetSettings and cast to the correct class /// /// [LibraryImport("jolt", EntryPoint = "WheelTV_GetSettings")] public static partial WheelSettingsTV WheelTV_GetSettings(WheelTV self); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:44 ///
/// void CalculateAngularVelocity(const VehicleConstraint &inConstraint) ///
///
/// /// /// Update the angular velocity of the wheel based on the angular velocity of the track /// /// [LibraryImport("jolt", EntryPoint = "WheelTV_CalculateAngularVelocity")] public static partial void WheelTV_CalculateAngularVelocity(WheelTV self, VehicleConstraint constraint); /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:47 ///
/// void Update(uint inWheelIndex, float inDeltaTime, const VehicleConstraint &inConstraint) ///
///
/// /// /// Update the wheel rotation based on the current angular velocity /// /// [LibraryImport("jolt", EntryPoint = "WheelTV_Update")] public static partial void WheelTV_Update(WheelTV self, uint wheelIndex, float deltaTime, VehicleConstraint constraint); /// /// /// Index in mTracks to which this wheel is attached (calculated on initialization) /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:49 ///
/// int mTrackIndex = -1 ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_GetTrackIndex")] public static partial int WheelTV_GetTrackIndex(WheelTV self); /// /// /// Index in mTracks to which this wheel is attached (calculated on initialization) /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:49 ///
/// int mTrackIndex = -1 ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_SetTrackIndex")] public static partial void WheelTV_SetTrackIndex(WheelTV self, int value); /// /// /// Combined friction coefficient in longitudinal direction (combines terrain and track) /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:50 ///
/// float mCombinedLongitudinalFriction = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_GetCombinedLongitudinalFriction")] public static partial float WheelTV_GetCombinedLongitudinalFriction(WheelTV self); /// /// /// Combined friction coefficient in longitudinal direction (combines terrain and track) /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:50 ///
/// float mCombinedLongitudinalFriction = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_SetCombinedLongitudinalFriction")] public static partial void WheelTV_SetCombinedLongitudinalFriction(WheelTV self, float value); /// /// /// Combined friction coefficient in lateral direction (combines terrain and track) /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:51 ///
/// float mCombinedLateralFriction = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_GetCombinedLateralFriction")] public static partial float WheelTV_GetCombinedLateralFriction(WheelTV self); /// /// /// Combined friction coefficient in lateral direction (combines terrain and track) /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:51 ///
/// float mCombinedLateralFriction = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_SetCombinedLateralFriction")] public static partial void WheelTV_SetCombinedLateralFriction(WheelTV self, float value); /// /// /// Amount of impulse that the brakes can apply to the floor (excluding friction), spread out from brake /// impulse applied on track /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:52 ///
/// float mBrakeImpulse = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_GetBrakeImpulse")] public static partial float WheelTV_GetBrakeImpulse(WheelTV self); /// /// /// Amount of impulse that the brakes can apply to the floor (excluding friction), spread out from brake /// impulse applied on track /// /// /// C++: /// Jolt/Physics/Vehicle/TrackedVehicleController.h:52 ///
/// float mBrakeImpulse = 0.0f ///
///
[LibraryImport("jolt", EntryPoint = "WheelTV_SetBrakeImpulse")] public static partial void WheelTV_SetBrakeImpulse(WheelTV self, float value); [LibraryImport("jolt", EntryPoint = "WheelTV_AsWheel")] public static partial Wheel WheelTV_AsWheel(WheelTV self); } } }