Package com.github.stephengold.joltjni
Class SerializableObject
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.SerializableObject
- All Implemented Interfaces:
ConstJoltPhysicsObject
,ConstSerializableObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
- Direct Known Subclasses:
ConstraintSettings
,GroupFilter
,PathConstraintPath
,PhysicsMaterial
,ShapeSettings
,VehicleControllerSettings
,WheelSettings
public abstract class SerializableObject
extends JoltPhysicsObject
implements ConstSerializableObject
A physics object that can be serialized (saved) and de-serialized (restored).
-
Method Summary
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getRtti
Access the type information of the current object. (native method: getRTTI)- Specified by:
getRtti
in interfaceConstSerializableObject
- Returns:
- a new object
-