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 Details

    • getRtti

      public Rtti getRtti()
      Access the type information of the current object. (native method: getRTTI)
      Specified by:
      getRtti in interface ConstSerializableObject
      Returns:
      a new object