Package physx.common

Class PxCollection

    • Constructor Detail

      • PxCollection

        protected PxCollection()
      • PxCollection

        protected PxCollection​(long address)
    • Method Detail

      • wrapPointer

        public static PxCollection wrapPointer​(long address)
      • add

        public void add​(PxBase obj)
        Parameters:
        obj - WebIDL type: PxBase [Ref]
      • add

        public void add​(PxBase obj,
                        long id)
        Parameters:
        obj - WebIDL type: PxBase [Ref]
        id - WebIDL type: unsigned long long
      • remove

        public void remove​(PxBase obj)
        Parameters:
        obj - WebIDL type: PxBase [Ref]
      • contains

        public boolean contains​(PxBase obj)
        Parameters:
        obj - WebIDL type: PxBase [Ref]
        Returns:
        WebIDL type: boolean
      • addId

        public void addId​(PxBase obj,
                          long id)
        Parameters:
        obj - WebIDL type: PxBase [Ref]
        id - WebIDL type: unsigned long long
      • removeId

        public void removeId​(long id)
        Parameters:
        id - WebIDL type: unsigned long long
      • getNbObjects

        public int getNbObjects()
        Returns:
        WebIDL type: unsigned long
      • getObject

        public PxBase getObject​(int index)
        Parameters:
        index - WebIDL type: unsigned long
        Returns:
        WebIDL type: PxBase [Ref]
      • find

        public PxBase find​(long id)
        Parameters:
        id - WebIDL type: unsigned long long
        Returns:
        WebIDL type: PxBase
      • getNbIds

        public int getNbIds()
        Returns:
        WebIDL type: unsigned long
      • getId

        public long getId​(PxBase obj)
        Parameters:
        obj - WebIDL type: PxBase [Const, Ref]
        Returns:
        WebIDL type: unsigned long long
      • release

        public void release()