java.lang.Object
physx.NativeObject
physx.physics.PxSceneLimits
-
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 PxSceneLimitsarrayGet(long baseAddress, int index) static PxSceneLimitscreateAt(long address) static <T> PxSceneLimitscreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()intintintintintintintintbooleanisValid()voidsetMaxNbActors(int value) voidsetMaxNbAggregates(int value) voidsetMaxNbBodies(int value) voidsetMaxNbBroadPhaseOverlaps(int value) voidsetMaxNbConstraints(int value) voidsetMaxNbDynamicShapes(int value) voidsetMaxNbRegions(int value) voidsetMaxNbStaticShapes(int value) voidstatic PxSceneLimitswrapPointer(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
-
PxSceneLimits
protected PxSceneLimits(long address) -
PxSceneLimits
public PxSceneLimits()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxSceneLimits
-
createAt
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.- Returns:
- Stack allocated object of PxSceneLimits
-
destroy
public void destroy() -
getMaxNbActors
public int getMaxNbActors()- Returns:
- WebIDL type: unsigned long
-
setMaxNbActors
public void setMaxNbActors(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbBodies
public int getMaxNbBodies()- Returns:
- WebIDL type: unsigned long
-
setMaxNbBodies
public void setMaxNbBodies(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbStaticShapes
public int getMaxNbStaticShapes()- Returns:
- WebIDL type: unsigned long
-
setMaxNbStaticShapes
public void setMaxNbStaticShapes(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbDynamicShapes
public int getMaxNbDynamicShapes()- Returns:
- WebIDL type: unsigned long
-
setMaxNbDynamicShapes
public void setMaxNbDynamicShapes(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbAggregates
public int getMaxNbAggregates()- Returns:
- WebIDL type: unsigned long
-
setMaxNbAggregates
public void setMaxNbAggregates(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbConstraints
public int getMaxNbConstraints()- Returns:
- WebIDL type: unsigned long
-
setMaxNbConstraints
public void setMaxNbConstraints(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbRegions
public int getMaxNbRegions()- Returns:
- WebIDL type: unsigned long
-
setMaxNbRegions
public void setMaxNbRegions(int value) - Parameters:
value- WebIDL type: unsigned long
-
getMaxNbBroadPhaseOverlaps
public int getMaxNbBroadPhaseOverlaps()- Returns:
- WebIDL type: unsigned long
-
setMaxNbBroadPhaseOverlaps
public void setMaxNbBroadPhaseOverlaps(int value) - Parameters:
value- WebIDL type: unsigned long
-
setToDefault
public void setToDefault() -
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-