public class PxHeightFieldSample extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxHeightFieldSample() |
protected |
PxHeightFieldSample(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearTessFlag() |
static PxHeightFieldSample |
createAt(long address) |
static <T> PxHeightFieldSample |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
short |
getHeight() |
byte |
getMaterialIndex0() |
byte |
getMaterialIndex1() |
void |
setHeight(short value) |
void |
setMaterialIndex0(byte value) |
void |
setMaterialIndex1(byte value) |
void |
setTessFlag() |
byte |
tessFlag() |
static PxHeightFieldSample |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxHeightFieldSample(long address)
public PxHeightFieldSample()
public static PxHeightFieldSample wrapPointer(long address)
public static PxHeightFieldSample createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxHeightFieldSample 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 short getHeight()
public void setHeight(short value)
value - WebIDL type: shortpublic byte getMaterialIndex0()
public void setMaterialIndex0(byte value)
value - WebIDL type: octetpublic byte getMaterialIndex1()
public void setMaterialIndex1(byte value)
value - WebIDL type: octetpublic byte tessFlag()
public void clearTessFlag()
public void setTessFlag()