Class SimpleCustomGeometryCallbacks

java.lang.Object
physx.NativeObject
physx.geometry.SimpleCustomGeometryCallbacks
Direct Known Subclasses:
SimpleCustomGeometryCallbacksImpl

public class SimpleCustomGeometryCallbacks extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • SimpleCustomGeometryCallbacks

      protected SimpleCustomGeometryCallbacks()
    • SimpleCustomGeometryCallbacks

      protected SimpleCustomGeometryCallbacks(long address)
  • Method Details

    • wrapPointer

      public static SimpleCustomGeometryCallbacks wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getPersistentContactManifold_outBreakingThreshold

      public float getPersistentContactManifold_outBreakingThreshold()
      Returns:
      WebIDL type: float
    • setPersistentContactManifold_outBreakingThreshold

      public void setPersistentContactManifold_outBreakingThreshold(float value)
      Parameters:
      value - WebIDL type: float
    • getLocalBoundsImpl

      public PxBounds3 getLocalBoundsImpl(PxGeometry geometry)
      Parameters:
      geometry - WebIDL type: PxGeometry [Const, Ref]
      Returns:
      WebIDL type: PxBounds3
    • generateContactsImpl

      public boolean generateContactsImpl(PxGeometry geom0, PxGeometry geom1, PxTransform pose0, PxTransform pose1, float contactDistance, float meshContactMargin, float toleranceLength, PxContactBuffer contactBuffer)
      Parameters:
      geom0 - WebIDL type: PxGeometry [Const, Ref]
      geom1 - WebIDL type: PxGeometry [Const, Ref]
      pose0 - WebIDL type: PxTransform [Const, Ref]
      pose1 - WebIDL type: PxTransform [Const, Ref]
      contactDistance - WebIDL type: float
      meshContactMargin - WebIDL type: float
      toleranceLength - WebIDL type: float
      contactBuffer - WebIDL type: PxContactBuffer [Ref]
      Returns:
      WebIDL type: boolean
    • raycastImpl

      public int raycastImpl(PxVec3 origin, PxVec3 unitDir, PxGeometry geom, PxTransform pose, float maxDist, PxHitFlags hitFlags, int maxHits, PxGeomRaycastHit rayHits, int stride)
      Parameters:
      origin - WebIDL type: PxVec3 [Const, Ref]
      unitDir - WebIDL type: PxVec3 [Const, Ref]
      geom - WebIDL type: PxGeometry [Const, Ref]
      pose - WebIDL type: PxTransform [Const, Ref]
      maxDist - WebIDL type: float
      hitFlags - WebIDL type: PxHitFlags [Ref]
      maxHits - WebIDL type: unsigned long
      rayHits - WebIDL type: PxGeomRaycastHit
      stride - WebIDL type: unsigned long
      Returns:
      WebIDL type: unsigned long
    • overlapImpl

      public boolean overlapImpl(PxGeometry geom0, PxTransform pose0, PxGeometry geom1, PxTransform pose1)
      Parameters:
      geom0 - WebIDL type: PxGeometry [Const, Ref]
      pose0 - WebIDL type: PxTransform [Const, Ref]
      geom1 - WebIDL type: PxGeometry [Const, Ref]
      pose1 - WebIDL type: PxTransform [Const, Ref]
      Returns:
      WebIDL type: boolean
    • sweepImpl

      public boolean sweepImpl(PxVec3 unitDir, float maxDist, PxGeometry geom0, PxTransform pose0, PxGeometry geom1, PxTransform pose1, PxGeomSweepHit sweepHit, PxHitFlags hitFlags, float inflation)
      Parameters:
      unitDir - WebIDL type: PxVec3 [Const, Ref]
      maxDist - WebIDL type: float
      geom0 - WebIDL type: PxGeometry [Const, Ref]
      pose0 - WebIDL type: PxTransform [Const, Ref]
      geom1 - WebIDL type: PxGeometry [Const, Ref]
      pose1 - WebIDL type: PxTransform [Const, Ref]
      sweepHit - WebIDL type: PxGeomSweepHit [Ref]
      hitFlags - WebIDL type: PxHitFlags [Ref]
      inflation - WebIDL type: float
      Returns:
      WebIDL type: boolean
    • computeMassPropertiesImpl

      public void computeMassPropertiesImpl(PxGeometry geometry, PxMassProperties massProperties)
      Parameters:
      geometry - WebIDL type: PxGeometry [Const, Ref]
      massProperties - WebIDL type: PxMassProperties [Ref]
    • usePersistentContactManifoldImpl

      public boolean usePersistentContactManifoldImpl(PxGeometry geometry)
      Parameters:
      geometry - WebIDL type: PxGeometry [Const, Ref]
      Returns:
      WebIDL type: boolean