java.lang.Object
physx.NativeObject
physx.geometry.PxContactBuffer
-
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 TypeMethodDescriptionstatic PxContactBufferarrayGet(long baseAddress, int index) contact()booleanbooleanbooleanvoiddestroy()getContacts(int index) intgetCount()static intintgetPad()voidreset()voidsetContacts(int index, PxContactPoint value) voidsetCount(int value) voidsetPad(int value) static PxContactBufferwrapPointer(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
-
PxContactBuffer
protected PxContactBuffer() -
PxContactBuffer
protected PxContactBuffer(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getContacts
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxContactPoint[Value]
-
setContacts
- Parameters:
index- Array indexvalue- WebIDL type:PxContactPoint[Value]
-
getCount
public int getCount()- Returns:
- WebIDL type: unsigned long
-
setCount
public void setCount(int value) - Parameters:
value- WebIDL type: unsigned long
-
getPad
public int getPad()- Returns:
- WebIDL type: unsigned long
-
setPad
public void setPad(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMAX_CONTACTS
public static int getMAX_CONTACTS()- Returns:
- WebIDL type: unsigned long
-
reset
public void reset() -
contact
-
contact
-
contact
- Parameters:
pt- WebIDL type:PxContactPoint[Const, Ref]- Returns:
- WebIDL type: boolean
-
contact
- Returns:
- WebIDL type:
PxContactPoint[Platforms=windows;linux;macos]
-