public class PxHeightFieldGeometry extends PxGeometry
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxHeightFieldGeometry() |
protected |
PxHeightFieldGeometry(long address) |
|
PxHeightFieldGeometry(PxHeightField hf,
PxMeshGeometryFlags flags,
float heightScale,
float rowScale,
float columnScale) |
getTypecheckNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxHeightFieldGeometry(long address)
public PxHeightFieldGeometry()
public PxHeightFieldGeometry(PxHeightField hf, PxMeshGeometryFlags flags, float heightScale, float rowScale, float columnScale)
hf - WebIDL type: PxHeightFieldflags - WebIDL type: PxMeshGeometryFlags [Ref]heightScale - WebIDL type: floatrowScale - WebIDL type: floatcolumnScale - WebIDL type: floatpublic static PxHeightFieldGeometry wrapPointer(long address)
public static PxHeightFieldGeometry createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxHeightFieldGeometry 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 static PxHeightFieldGeometry createAt(long address, PxHeightField hf, PxMeshGeometryFlags flags, float heightScale, float rowScale, float columnScale)
address - Pre-allocated memory, where the object is created.hf - WebIDL type: PxHeightFieldflags - WebIDL type: PxMeshGeometryFlags [Ref]heightScale - WebIDL type: floatrowScale - WebIDL type: floatcolumnScale - WebIDL type: floatpublic static <T> PxHeightFieldGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxHeightField hf, PxMeshGeometryFlags flags, float heightScale, float rowScale, float columnScale)
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.hf - WebIDL type: PxHeightFieldflags - WebIDL type: PxMeshGeometryFlags [Ref]heightScale - WebIDL type: floatrowScale - WebIDL type: floatcolumnScale - WebIDL type: floatpublic void destroy()
destroy in class PxGeometrypublic PxHeightField getHeightField()
PxHeightFieldpublic void setHeightField(PxHeightField value)
value - WebIDL type: PxHeightFieldpublic float getHeightScale()
public void setHeightScale(float value)
value - WebIDL type: floatpublic float getRowScale()
public void setRowScale(float value)
value - WebIDL type: floatpublic float getColumnScale()
public void setColumnScale(float value)
value - WebIDL type: floatpublic PxMeshGeometryFlags getHeightFieldFlags()
PxMeshGeometryFlags [Value]public void setHeightFieldFlags(PxMeshGeometryFlags value)
value - WebIDL type: PxMeshGeometryFlags [Value]public boolean isValid()