Class PxObstacleContext

java.lang.Object
physx.NativeObject
physx.character.PxObstacleContext

public class PxObstacleContext extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxObstacleContext

      protected PxObstacleContext()
    • PxObstacleContext

      protected PxObstacleContext(long address)
  • Method Details

    • wrapPointer

      public static PxObstacleContext wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • release

      public void release()
    • getControllerManager

      public PxControllerManager getControllerManager()
      Returns:
      WebIDL type: PxControllerManager [Ref]
    • addObstacle

      public int addObstacle(PxObstacle obstacle)
      Parameters:
      obstacle - WebIDL type: PxObstacle [Const, Ref]
      Returns:
      WebIDL type: unsigned long
    • removeObstacle

      public boolean removeObstacle(int handle)
      Parameters:
      handle - WebIDL type: unsigned long
      Returns:
      WebIDL type: boolean
    • updateObstacle

      public boolean updateObstacle(int handle, PxObstacle obstacle)
      Parameters:
      handle - WebIDL type: unsigned long
      obstacle - WebIDL type: PxObstacle [Const, Ref]
      Returns:
      WebIDL type: boolean
    • getNbObstacles

      public int getNbObstacles()
      Returns:
      WebIDL type: unsigned long
    • getObstacle

      public PxObstacle getObstacle(int i)
      Parameters:
      i - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxObstacle [Const]
    • getObstacleByHandle

      public PxObstacle getObstacleByHandle(int handle)
      Parameters:
      handle - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxObstacle [Const]