Package physx.common

Class PxCollection

java.lang.Object
physx.NativeObject
physx.common.PxCollection

public class PxCollection extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxCollection

      protected PxCollection()
    • PxCollection

      protected PxCollection(long address)
  • Method Details

    • wrapPointer

      public static PxCollection wrapPointer(long address)
    • arrayGet

      public static PxCollection arrayGet(long baseAddress, int index)
    • 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()