Class PxObstacleContext

    • Constructor Detail

      • PxObstacleContext

        protected PxObstacleContext()
      • PxObstacleContext

        protected PxObstacleContext​(long address)
    • Method Detail

      • destroy

        public void destroy()
      • release

        public void release()
      • 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]