public class PxHullPolygon extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxHullPolygon() |
protected |
PxHullPolygon(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxHullPolygon |
createAt(long address) |
static <T> PxHullPolygon |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
short |
getMIndexBase() |
short |
getMNbVerts() |
float |
getMPlane(int index) |
void |
setMIndexBase(short value) |
void |
setMNbVerts(short value) |
void |
setMPlane(int index,
float value) |
static PxHullPolygon |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxHullPolygon(long address)
public PxHullPolygon()
public static PxHullPolygon wrapPointer(long address)
public static PxHullPolygon createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxHullPolygon 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 float getMPlane(int index)
index - Array indexpublic void setMPlane(int index,
float value)
index - Array indexvalue - WebIDL type: floatpublic short getMNbVerts()
public void setMNbVerts(short value)
value - WebIDL type: shortpublic short getMIndexBase()
public void setMIndexBase(short value)
value - WebIDL type: short