Class PxVehicleTireAxisStickyParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireAxisStickyParams

public class PxVehicleTireAxisStickyParams extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleTireAxisStickyParams

      protected PxVehicleTireAxisStickyParams(long address)
    • PxVehicleTireAxisStickyParams

      public PxVehicleTireAxisStickyParams()
  • Method Details

    • wrapPointer

      public static PxVehicleTireAxisStickyParams wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxVehicleTireAxisStickyParams 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 PxVehicleTireAxisStickyParams
    • destroy

      public void destroy()
    • getThresholdSpeed

      public float getThresholdSpeed()
      Returns:
      WebIDL type: float
    • setThresholdSpeed

      public void setThresholdSpeed(float value)
      Parameters:
      value - WebIDL type: float
    • getThresholdTime

      public float getThresholdTime()
      Returns:
      WebIDL type: float
    • setThresholdTime

      public void setThresholdTime(float value)
      Parameters:
      value - WebIDL type: float
    • getDamping

      public float getDamping()
      Returns:
      WebIDL type: float
    • setDamping

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

      public PxVehicleTireAxisStickyParams 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: PxVehicleTireAxisStickyParams [Value]
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean