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