![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
Basic settings object for interface that controls acceleration / decelleration of the vehicle. More...
#include <VehicleController.h>
Public Member Functions | |
| virtual void | SaveBinaryState (StreamOut &inStream) const =0 |
| Saves the contents of the controller settings in binary form to inStream. More... | |
| virtual void | RestoreBinaryState (StreamIn &inStream)=0 |
| Restore the contents of the controller settings in binary form from inStream. More... | |
| virtual VehicleController * | ConstructController (VehicleConstraint &inConstraint) const =0 |
| Create an instance of the vehicle controller class. More... | |
Public Member Functions inherited from SerializableObject | |
| virtual | ~SerializableObject ()=default |
| Constructor. More... | |
Public Member Functions inherited from RefTarget< VehicleControllerSettings > | |
| RefTarget ()=default | |
| Constructor. More... | |
| RefTarget (const RefTarget &) | |
| ~RefTarget () | |
| assert no one is referencing us More... | |
| void | SetEmbedded () const |
| RefTarget & | operator= (const RefTarget &) |
| Assignment operator. More... | |
| uint32 | GetRefCount () const |
| Get current refcount of this object. More... | |
| void | AddRef () const |
| Add or release a reference to this object. More... | |
| void | Release () const |
Additional Inherited Members | |
Static Public Member Functions inherited from RefTarget< VehicleControllerSettings > | |
| static int | sInternalGetRefCountOffset () |
| INTERNAL HELPER FUNCTION USED BY SERIALIZATION. More... | |
Protected Attributes inherited from RefTarget< VehicleControllerSettings > | |
| atomic< uint32 > | mRefCount |
| Current reference count. More... | |
Static Protected Attributes inherited from RefTarget< VehicleControllerSettings > | |
| static constexpr uint32 | cEmbedded |
| A large value that gets added to the refcount to mark the object as embedded. More... | |
Basic settings object for interface that controls acceleration / decelleration of the vehicle.
|
pure virtual |
Create an instance of the vehicle controller class.
Implemented in MotorcycleControllerSettings, TrackedVehicleControllerSettings, and WheeledVehicleControllerSettings.
|
pure virtual |
Restore the contents of the controller settings in binary form from inStream.
Implemented in MotorcycleControllerSettings, TrackedVehicleControllerSettings, and WheeledVehicleControllerSettings.
|
pure virtual |
Saves the contents of the controller settings in binary form to inStream.
Implemented in MotorcycleControllerSettings, TrackedVehicleControllerSettings, and WheeledVehicleControllerSettings.