Package com.github.stephengold.joltjni
Class VehicleControllerSettings
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.SerializableObject
com.github.stephengold.joltjni.VehicleControllerSettings
- All Implemented Interfaces:
ConstJoltPhysicsObject,RefTarget,AutoCloseable,Comparable<ConstJoltPhysicsObject>
- Direct Known Subclasses:
WheeledVehicleControllerSettings
Settings used to construct a
VehicleController.-
Method Summary
Modifier and TypeMethodDescriptionintCount the active references to the nativeVehicleControllerSettings.voidMark the nativeVehicleControllerSettingsas embedded.toRef()Create a counted reference to the nativeVehicleControllerSettings.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
Method Details
-
getRefCount
public int getRefCount()Count the active references to the nativeVehicleControllerSettings. The settings are unaffected.- Specified by:
getRefCountin interfaceRefTarget- Returns:
- the count (≥0)
-
setEmbedded
public void setEmbedded()Mark the nativeVehicleControllerSettingsas embedded.- Specified by:
setEmbeddedin interfaceRefTarget
-
toRef
Create a counted reference to the nativeVehicleControllerSettings.
-