public class PxSphereGeometry extends PxGeometry
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxSphereGeometry() |
|
PxSphereGeometry(float ir) |
protected |
PxSphereGeometry(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxSphereGeometry |
createAt(long address,
float ir) |
static <T> PxSphereGeometry |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
float ir) |
void |
destroy() |
static PxSphereGeometry |
wrapPointer(long address) |
getTypecheckNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxSphereGeometry()
protected PxSphereGeometry(long address)
public PxSphereGeometry(float ir)
ir - WebIDL type: floatpublic static PxSphereGeometry wrapPointer(long address)
public static PxSphereGeometry createAt(long address, float ir)
address - Pre-allocated memory, where the object is created.ir - WebIDL type: floatpublic static <T> PxSphereGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, float ir)
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.ir - WebIDL type: floatpublic void destroy()
destroy in class PxGeometry