Class PxVehicleScale

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleScale

public class PxVehicleScale extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleScale

      protected PxVehicleScale(long address)
    • PxVehicleScale

      public PxVehicleScale()
  • Method Details

    • wrapPointer

      public static PxVehicleScale wrapPointer(long address)
    • arrayGet

      public static PxVehicleScale arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getScale

      public float getScale()
      The length scale used for the vehicle. For example, if 1.0 is considered meters, then 100.0 would be for centimeters.
    • setScale

      public void setScale(float value)
      The length scale used for the vehicle. For example, if 1.0 is considered meters, then 100.0 would be for centimeters.
    • setToDefault

      public void setToDefault()
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean