java.lang.Object
physx.NativeObject
physx.physics.PxBroadPhaseRegionInfo
Information & stats structure for a region
-
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 PxBroadPhaseRegionInfoarrayGet(long baseAddress, int index) voiddestroy()booleanTrue if region is currently used, i.e. it has not been removedintNumber of dynamic objects in the regionintNumber of static objects in the regionbooleanTrue if region overlaps other regions (regions that are just touching are not considering overlapping)User-provided region datavoidsetMActive(boolean value) True if region is currently used, i.e. it has not been removedvoidsetMNbDynamicObjects(int value) Number of dynamic objects in the regionvoidsetMNbStaticObjects(int value) Number of static objects in the regionvoidsetMOverlap(boolean value) True if region overlaps other regions (regions that are just touching are not considering overlapping)voidsetMRegion(PxBroadPhaseRegion value) User-provided region datastatic PxBroadPhaseRegionInfowrapPointer(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
-
PxBroadPhaseRegionInfo
protected PxBroadPhaseRegionInfo(long address) -
PxBroadPhaseRegionInfo
public PxBroadPhaseRegionInfo()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getMRegion
User-provided region data -
setMRegion
User-provided region data -
getMNbStaticObjects
public int getMNbStaticObjects()Number of static objects in the region -
setMNbStaticObjects
public void setMNbStaticObjects(int value) Number of static objects in the region -
getMNbDynamicObjects
public int getMNbDynamicObjects()Number of dynamic objects in the region -
setMNbDynamicObjects
public void setMNbDynamicObjects(int value) Number of dynamic objects in the region -
getMActive
public boolean getMActive()True if region is currently used, i.e. it has not been removed -
setMActive
public void setMActive(boolean value) True if region is currently used, i.e. it has not been removed -
getMOverlap
public boolean getMOverlap()True if region overlaps other regions (regions that are just touching are not considering overlapping) -
setMOverlap
public void setMOverlap(boolean value) True if region overlaps other regions (regions that are just touching are not considering overlapping)
-