Class WheelSettingsTv

All Implemented Interfaces:
ConstJoltPhysicsObject, ConstWheelSettings, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>

public class WheelSettingsTv extends WheelSettings
Settings used to construct a WheelTv. (native type: WheelSettingsTV)
  • Constructor Details

    • WheelSettingsTv

      public WheelSettingsTv()
      Instantiate default settings.
  • Method Details

    • getRefCount

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

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

      public WheelSettingsTvRef toRef()
      Create a counted reference to the native WheelSettingsTV.
      Specified by:
      toRef in interface RefTarget
      Specified by:
      toRef in class WheelSettings
      Returns:
      a new JVM object with a new native object assigned