Class VehicleControllerSettings

All Implemented Interfaces:
ConstJoltPhysicsObject, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>
Direct Known Subclasses:
TrackedVehicleControllerSettings, WheeledVehicleControllerSettings

public class VehicleControllerSettings extends SerializableObject implements RefTarget
Settings used to construct a VehicleController.
  • Method Details

    • getRefCount

      public int getRefCount()
      Count the active references to the native VehicleControllerSettings. The settings are unaffected.
      Specified by:
      getRefCount in interface RefTarget
      Returns:
      the count (≥0)
    • setEmbedded

      public void setEmbedded()
      Mark the native VehicleControllerSettings as embedded.
      Specified by:
      setEmbedded in interface RefTarget
    • toRef

      Create a counted reference to the native VehicleControllerSettings.
      Specified by:
      toRef in interface RefTarget
      Returns:
      a new JVM object with a new native object assigned