// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// Runtime data for interface that controls acceleration / deceleration of the vehicle /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleController.h:40 ///
/// class VehicleController : public NonCopyable ///
///
[InteropHandle] public readonly partial struct VehicleController { /// /// /// Access the vehicle constraint that this controller is part of /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleController.h:50 ///
/// VehicleConstraint & GetConstraint() ///
///
/// /// /// The returned handle carries its own reference; Dispose it once when you're done. /// /// public VehicleConstraint GetConstraint() => Jolt.PInvoke.VehicleController_GetConstraint(this); /// /// /// Recreate the settings for this controller /// /// /// C++: /// Jolt/Physics/Vehicle/VehicleController.h:54 ///
/// virtual Ref<VehicleControllerSettings> GetSettings() const = 0 ///
///
/// /// /// The returned handle carries its own reference; Dispose it once when you're done. /// /// public VehicleControllerSettings GetSettings() => Jolt.PInvoke.VehicleController_GetSettings(this); /// /// /// Views this VehicleController as the WheeledVehicleController it is, or returns a null handle when it is /// a different kind - check IsNull(). The same object, not a new reference: never Dispose the result. /// /// public WheeledVehicleController AsWheeledVehicleController() => Jolt.PInvoke.VehicleController_AsWheeledVehicleController(this); /// /// /// Views this VehicleController as the MotorcycleController it is, or returns a null handle when it is a /// different kind - check IsNull(). The same object, not a new reference: never Dispose the result. /// /// public MotorcycleController AsMotorcycleController() => Jolt.PInvoke.VehicleController_AsMotorcycleController(this); /// /// /// Views this VehicleController as the TrackedVehicleController it is, or returns a null handle when it is /// a different kind - check IsNull(). The same object, not a new reference: never Dispose the result. /// /// public TrackedVehicleController AsTrackedVehicleController() => Jolt.PInvoke.VehicleController_AsTrackedVehicleController(this); } }