Package physx.physics
Class PxSceneLimits
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxSceneLimits
-
public class PxSceneLimits extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxSceneLimits()protectedPxSceneLimits(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxSceneLimitscreateAt(long address)static <T> PxSceneLimitscreateAt(T allocator, NativeObject.Allocator<T> allocate)voiddestroy()intgetMaxNbActors()intgetMaxNbAggregates()intgetMaxNbBodies()intgetMaxNbBroadPhaseOverlaps()intgetMaxNbConstraints()intgetMaxNbDynamicShapes()intgetMaxNbRegions()intgetMaxNbStaticShapes()booleanisValid()voidsetMaxNbActors(int value)voidsetMaxNbAggregates(int value)voidsetMaxNbBodies(int value)voidsetMaxNbBroadPhaseOverlaps(int value)voidsetMaxNbConstraints(int value)voidsetMaxNbDynamicShapes(int value)voidsetMaxNbRegions(int value)voidsetMaxNbStaticShapes(int value)voidsetToDefault()static PxSceneLimitswrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrapPointer
public static PxSceneLimits wrapPointer(long address)
-
createAt
public static PxSceneLimits createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxSceneLimits
-
createAt
public static <T> PxSceneLimits createAt(T allocator, NativeObject.Allocator<T> allocate)
- 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
-
-