Package physx.physics
Class PxContactPair
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxContactPair
-
public class PxContactPair extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxContactPair()protectedPxContactPair(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()bytegetContactCount()PxPairFlagsgetEvents()PxContactPairFlagsgetFlags()bytegetPatchCount()PxShapegetShapes(int index)voidsetContactCount(byte value)voidsetEvents(PxPairFlags value)voidsetFlags(PxContactPairFlags value)voidsetPatchCount(byte value)voidsetShapes(int index, PxShape value)static PxContactPairwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxContactPair wrapPointer(long address)
-
destroy
public void destroy()
-
getShapes
public PxShape getShapes(int index)
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxShape
-
setShapes
public void setShapes(int index, PxShape value)- Parameters:
index- Array indexvalue- WebIDL type:PxShape
-
getContactCount
public byte getContactCount()
- Returns:
- WebIDL type: octet
-
setContactCount
public void setContactCount(byte value)
- Parameters:
value- WebIDL type: octet
-
getPatchCount
public byte getPatchCount()
- Returns:
- WebIDL type: octet
-
setPatchCount
public void setPatchCount(byte value)
- Parameters:
value- WebIDL type: octet
-
getFlags
public PxContactPairFlags getFlags()
- Returns:
- WebIDL type:
PxContactPairFlags[Value]
-
setFlags
public void setFlags(PxContactPairFlags value)
- Parameters:
value- WebIDL type:PxContactPairFlags[Value]
-
getEvents
public PxPairFlags getEvents()
- Returns:
- WebIDL type:
PxPairFlags[Value]
-
setEvents
public void setEvents(PxPairFlags value)
- Parameters:
value- WebIDL type:PxPairFlags[Value]
-
-