public class PxSceneLimits extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxSceneLimits() |
protected |
PxSceneLimits(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxSceneLimits |
createAt(long address) |
static <T> PxSceneLimits |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
int |
getMaxNbActors() |
int |
getMaxNbAggregates() |
int |
getMaxNbBodies() |
int |
getMaxNbBroadPhaseOverlaps() |
int |
getMaxNbConstraints() |
int |
getMaxNbDynamicShapes() |
int |
getMaxNbRegions() |
int |
getMaxNbStaticShapes() |
boolean |
isValid() |
void |
setMaxNbActors(int value) |
void |
setMaxNbAggregates(int value) |
void |
setMaxNbBodies(int value) |
void |
setMaxNbBroadPhaseOverlaps(int value) |
void |
setMaxNbConstraints(int value) |
void |
setMaxNbDynamicShapes(int value) |
void |
setMaxNbRegions(int value) |
void |
setMaxNbStaticShapes(int value) |
void |
setToDefault() |
static PxSceneLimits |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxSceneLimits(long address)
public PxSceneLimits()
public static PxSceneLimits wrapPointer(long address)
public static PxSceneLimits createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxSceneLimits createAt(T allocator, NativeObject.Allocator<T> allocate)
T - Allocator class, e.g. LWJGL's MemoryStack.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.public void destroy()
public int getMaxNbActors()
public void setMaxNbActors(int value)
value - WebIDL type: unsigned longpublic int getMaxNbBodies()
public void setMaxNbBodies(int value)
value - WebIDL type: unsigned longpublic int getMaxNbStaticShapes()
public void setMaxNbStaticShapes(int value)
value - WebIDL type: unsigned longpublic int getMaxNbDynamicShapes()
public void setMaxNbDynamicShapes(int value)
value - WebIDL type: unsigned longpublic int getMaxNbAggregates()
public void setMaxNbAggregates(int value)
value - WebIDL type: unsigned longpublic int getMaxNbConstraints()
public void setMaxNbConstraints(int value)
value - WebIDL type: unsigned longpublic int getMaxNbRegions()
public void setMaxNbRegions(int value)
value - WebIDL type: unsigned longpublic int getMaxNbBroadPhaseOverlaps()
public void setMaxNbBroadPhaseOverlaps(int value)
value - WebIDL type: unsigned longpublic void setToDefault()
public boolean isValid()