public class PxHeightFieldDesc extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxHeightFieldDesc() |
protected |
PxHeightFieldDesc(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxHeightFieldDesc |
createAt(long address) |
static <T> PxHeightFieldDesc |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
float |
getConvexEdgeThreshold() |
PxHeightFieldFlags |
getFlags() |
int |
getFormat() |
int |
getNbColumns() |
int |
getNbRows() |
PxStridedData |
getSamples() |
boolean |
isValid() |
void |
setConvexEdgeThreshold(float value) |
void |
setFlags(PxHeightFieldFlags value) |
void |
setFormat(int value) |
void |
setNbColumns(int value) |
void |
setNbRows(int value) |
void |
setSamples(PxStridedData value) |
void |
setToDefault() |
static PxHeightFieldDesc |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxHeightFieldDesc(long address)
public PxHeightFieldDesc()
public static PxHeightFieldDesc wrapPointer(long address)
public static PxHeightFieldDesc createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxHeightFieldDesc 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 int getNbRows()
public void setNbRows(int value)
value - WebIDL type: unsigned longpublic int getNbColumns()
public void setNbColumns(int value)
value - WebIDL type: unsigned longpublic int getFormat()
PxHeightFieldFormatEnum [enum]public void setFormat(int value)
value - WebIDL type: PxHeightFieldFormatEnum [enum]public PxStridedData getSamples()
PxStridedData [Value]public void setSamples(PxStridedData value)
value - WebIDL type: PxStridedData [Value]public float getConvexEdgeThreshold()
public void setConvexEdgeThreshold(float value)
value - WebIDL type: floatpublic PxHeightFieldFlags getFlags()
PxHeightFieldFlags [Value]public void setFlags(PxHeightFieldFlags value)
value - WebIDL type: PxHeightFieldFlags [Value]public void setToDefault()
public boolean isValid()