Package physx.extensions
Class BatchVehicleUpdateDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.extensions.BatchVehicleUpdateDesc
-
public class BatchVehicleUpdateDesc 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 BatchVehicleUpdateDesc()protectedBatchVehicleUpdateDesc(long address)
-
Method Summary
-
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 BatchVehicleUpdateDesc wrapPointer(long address)
-
createAt
public static BatchVehicleUpdateDesc createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of BatchVehicleUpdateDesc
-
createAt
public static <T> BatchVehicleUpdateDesc 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 BatchVehicleUpdateDesc
-
destroy
public void destroy()
-
getFoundation
public PxFoundation getFoundation()
- Returns:
- WebIDL type:
PxFoundation
-
setFoundation
public void setFoundation(PxFoundation value)
- Parameters:
value- WebIDL type:PxFoundation
-
getFrictionPairs
public PxVehicleDrivableSurfaceToTireFrictionPairs getFrictionPairs()
- Returns:
- WebIDL type:
PxVehicleDrivableSurfaceToTireFrictionPairs
-
setFrictionPairs
public void setFrictionPairs(PxVehicleDrivableSurfaceToTireFrictionPairs value)
- Parameters:
value- WebIDL type:PxVehicleDrivableSurfaceToTireFrictionPairs
-
getMaxNbVehicles
public int getMaxNbVehicles()
- Returns:
- WebIDL type: unsigned long
-
setMaxNbVehicles
public void setMaxNbVehicles(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getMaxNbWheelsPerVehicle
public int getMaxNbWheelsPerVehicle()
- Returns:
- WebIDL type: unsigned long
-
setMaxNbWheelsPerVehicle
public void setMaxNbWheelsPerVehicle(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getMaxNbHitPointsPerWheel
public int getMaxNbHitPointsPerWheel()
- Returns:
- WebIDL type: unsigned long
-
setMaxNbHitPointsPerWheel
public void setMaxNbHitPointsPerWheel(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getNumWorkers
public int getNumWorkers()
- Returns:
- WebIDL type: unsigned long
-
setNumWorkers
public void setNumWorkers(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getBatchSize
public int getBatchSize()
- Returns:
- WebIDL type: unsigned long
-
setBatchSize
public void setBatchSize(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getPreFilterShader
public PxBatchQueryPreFilterShader getPreFilterShader()
- Returns:
- WebIDL type:
PxBatchQueryPreFilterShader[Value]
-
setPreFilterShader
public void setPreFilterShader(PxBatchQueryPreFilterShader value)
- Parameters:
value- WebIDL type:PxBatchQueryPreFilterShader[Value]
-
getPostFilterShader
public PxBatchQueryPostFilterShader getPostFilterShader()
- Returns:
- WebIDL type:
PxBatchQueryPostFilterShader[Value]
-
setPostFilterShader
public void setPostFilterShader(PxBatchQueryPostFilterShader value)
- Parameters:
value- WebIDL type:PxBatchQueryPostFilterShader[Value]
-
-