Class PxVehicleAutoboxParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAutoboxParams

public class PxVehicleAutoboxParams extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleAutoboxParams

      protected PxVehicleAutoboxParams(long address)
    • PxVehicleAutoboxParams

      public PxVehicleAutoboxParams()
  • Method Details

    • wrapPointer

      public static PxVehicleAutoboxParams wrapPointer(long address)
    • arrayGet

      public static PxVehicleAutoboxParams arrayGet(long baseAddress, int index)
    • createAt

      public static PxVehicleAutoboxParams createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxVehicleAutoboxParams
    • createAt

      public static <T> PxVehicleAutoboxParams createAt(T allocator, NativeObject.Allocator<T> allocate)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      Returns:
      Stack allocated object of PxVehicleAutoboxParams
    • destroy

      public void destroy()
    • getUpRatios

      public float getUpRatios(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setUpRatios

      public void setUpRatios(int index, float value)
      Parameters:
      index - Array index
      value - WebIDL type: float
    • getDownRatios

      public float getDownRatios(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setDownRatios

      public void setDownRatios(int index, float value)
      Parameters:
      index - Array index
      value - WebIDL type: float
    • getLatency

      public float getLatency()
      Returns:
      WebIDL type: float
    • setLatency

      public void setLatency(float value)
      Parameters:
      value - WebIDL type: float
    • transformAndScale

      public PxVehicleAutoboxParams transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale)
      Parameters:
      srcFrame - WebIDL type: PxVehicleFrame [Const, Ref]
      trgFrame - WebIDL type: PxVehicleFrame [Const, Ref]
      srcScale - WebIDL type: PxVehicleScale [Const, Ref]
      trgScale - WebIDL type: PxVehicleScale [Const, Ref]
      Returns:
      WebIDL type: PxVehicleAutoboxParams [Value]
    • isValid

      public boolean isValid(PxVehicleGearboxParams gearboxParams)
      Parameters:
      gearboxParams - WebIDL type: PxVehicleGearboxParams [Const, Ref]
      Returns:
      WebIDL type: boolean