//
// 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/WheeledVehicleController.h:47
///
/// explicit WheelWV(const WheelSettingsWV &inWheel)
///
///
///
///
/// Constructor
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_Create")]
public static partial WheelWV WheelWV_Create(WheelSettingsWV wheel);
[LibraryImport("jolt", EntryPoint = "WheelWV_Destroy")]
public static partial void WheelWV_Destroy(WheelWV self);
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:50
///
/// const WheelSettingsWV * GetSettings() const
///
///
///
///
/// Override GetSettings and cast to the correct class
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_GetSettings")]
public static partial WheelSettingsWV WheelWV_GetSettings(WheelWV self);
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:53
///
/// void ApplyTorque(float inTorque, float inDeltaTime)
///
///
///
///
/// Apply a torque (N m) to the wheel for a particular delta time
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_ApplyTorque")]
public static partial void WheelWV_ApplyTorque(WheelWV self, float torque, float deltaTime);
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:59
///
/// void Update(uint inWheelIndex, float inDeltaTime, const VehicleConstraint &inConstraint)
///
///
///
///
/// Update the wheel rotation based on the current angular velocity
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_Update")]
public static partial void WheelWV_Update(WheelWV self, uint wheelIndex, float deltaTime, VehicleConstraint constraint);
///
///
/// Velocity difference between ground and wheel relative to ground velocity
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:61
///
/// float mLongitudinalSlip = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_GetLongitudinalSlip")]
public static partial float WheelWV_GetLongitudinalSlip(WheelWV self);
///
///
/// Velocity difference between ground and wheel relative to ground velocity
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:61
///
/// float mLongitudinalSlip = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_SetLongitudinalSlip")]
public static partial void WheelWV_SetLongitudinalSlip(WheelWV self, float value);
///
///
/// Angular difference (in radians) between ground and wheel relative to ground velocity
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:62
///
/// float mLateralSlip = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_GetLateralSlip")]
public static partial float WheelWV_GetLateralSlip(WheelWV self);
///
///
/// Angular difference (in radians) between ground and wheel relative to ground velocity
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:62
///
/// float mLateralSlip = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_SetLateralSlip")]
public static partial void WheelWV_SetLateralSlip(WheelWV self, float value);
///
///
/// Combined friction coefficient in longitudinal direction (combines terrain and tires)
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:63
///
/// float mCombinedLongitudinalFriction = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_GetCombinedLongitudinalFriction")]
public static partial float WheelWV_GetCombinedLongitudinalFriction(WheelWV self);
///
///
/// Combined friction coefficient in longitudinal direction (combines terrain and tires)
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:63
///
/// float mCombinedLongitudinalFriction = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_SetCombinedLongitudinalFriction")]
public static partial void WheelWV_SetCombinedLongitudinalFriction(WheelWV self, float value);
///
///
/// Combined friction coefficient in lateral direction (combines terrain and tires)
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:64
///
/// float mCombinedLateralFriction = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_GetCombinedLateralFriction")]
public static partial float WheelWV_GetCombinedLateralFriction(WheelWV self);
///
///
/// Combined friction coefficient in lateral direction (combines terrain and tires)
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:64
///
/// float mCombinedLateralFriction = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_SetCombinedLateralFriction")]
public static partial void WheelWV_SetCombinedLateralFriction(WheelWV self, float value);
///
///
/// Amount of impulse that the brakes can apply to the floor (excluding friction)
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:65
///
/// float mBrakeImpulse = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_GetBrakeImpulse")]
public static partial float WheelWV_GetBrakeImpulse(WheelWV self);
///
///
/// Amount of impulse that the brakes can apply to the floor (excluding friction)
///
///
/// C++:
/// Jolt/Physics/Vehicle/WheeledVehicleController.h:65
///
/// float mBrakeImpulse = 0.0f
///
///
[LibraryImport("jolt", EntryPoint = "WheelWV_SetBrakeImpulse")]
public static partial void WheelWV_SetBrakeImpulse(WheelWV self, float value);
[LibraryImport("jolt", EntryPoint = "WheelWV_AsWheel")]
public static partial Wheel WheelWV_AsWheel(WheelWV self);
}
}
}