java.lang.Object
physx.NativeObject
physx.common.PxCollection
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidstatic PxCollectionarrayGet(long baseAddress, int index) booleanfind(long id) longintgetNbIds()intgetObject(int index) voidrelease()voidvoidremoveId(long id) static PxCollectionwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
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
-
arrayGet
-
add
- Parameters:
obj- WebIDL type:PxBase[Ref]
-
add
- Parameters:
obj- WebIDL type:PxBase[Ref]id- WebIDL type: unsigned long long
-
remove
- Parameters:
obj- WebIDL type:PxBase[Ref]
-
contains
- Parameters:
obj- WebIDL type:PxBase[Ref]- Returns:
- WebIDL type: boolean
-
addId
- 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
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxBase[Ref]
-
find
- Parameters:
id- WebIDL type: unsigned long long- Returns:
- WebIDL type:
PxBase
-
getNbIds
public int getNbIds()- Returns:
- WebIDL type: unsigned long
-
getId
- Parameters:
obj- WebIDL type:PxBase[Const, Ref]- Returns:
- WebIDL type: unsigned long long
-
release
public void release()
-