public class PxTriangleMeshGeometry extends PxGeometry
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxTriangleMeshGeometry() |
protected |
PxTriangleMeshGeometry(long address) |
|
PxTriangleMeshGeometry(PxTriangleMesh mesh) |
|
PxTriangleMeshGeometry(PxTriangleMesh mesh,
PxMeshScale scaling) |
|
PxTriangleMeshGeometry(PxTriangleMesh mesh,
PxMeshScale scaling,
PxMeshGeometryFlags flags) |
| Modifier and Type | Method and Description |
|---|---|
static PxTriangleMeshGeometry |
createAt(long address,
PxTriangleMesh mesh) |
static PxTriangleMeshGeometry |
createAt(long address,
PxTriangleMesh mesh,
PxMeshScale scaling) |
static PxTriangleMeshGeometry |
createAt(long address,
PxTriangleMesh mesh,
PxMeshScale scaling,
PxMeshGeometryFlags flags) |
static <T> PxTriangleMeshGeometry |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
PxTriangleMesh mesh) |
static <T> PxTriangleMeshGeometry |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
PxTriangleMesh mesh,
PxMeshScale scaling) |
static <T> PxTriangleMeshGeometry |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
PxTriangleMesh mesh,
PxMeshScale scaling,
PxMeshGeometryFlags flags) |
void |
destroy() |
boolean |
isValid() |
static PxTriangleMeshGeometry |
wrapPointer(long address) |
getTypecheckNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxTriangleMeshGeometry()
protected PxTriangleMeshGeometry(long address)
public PxTriangleMeshGeometry(PxTriangleMesh mesh)
mesh - WebIDL type: PxTriangleMeshpublic PxTriangleMeshGeometry(PxTriangleMesh mesh, PxMeshScale scaling)
mesh - WebIDL type: PxTriangleMeshscaling - WebIDL type: PxMeshScale [Const, Ref]public PxTriangleMeshGeometry(PxTriangleMesh mesh, PxMeshScale scaling, PxMeshGeometryFlags flags)
mesh - WebIDL type: PxTriangleMeshscaling - WebIDL type: PxMeshScale [Const, Ref]flags - WebIDL type: PxMeshGeometryFlags [Ref]public static PxTriangleMeshGeometry wrapPointer(long address)
public static PxTriangleMeshGeometry createAt(long address, PxTriangleMesh mesh)
address - Pre-allocated memory, where the object is created.mesh - WebIDL type: PxTriangleMeshpublic static <T> PxTriangleMeshGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxTriangleMesh mesh)
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.mesh - WebIDL type: PxTriangleMeshpublic static PxTriangleMeshGeometry createAt(long address, PxTriangleMesh mesh, PxMeshScale scaling)
address - Pre-allocated memory, where the object is created.mesh - WebIDL type: PxTriangleMeshscaling - WebIDL type: PxMeshScale [Const, Ref]public static <T> PxTriangleMeshGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxTriangleMesh mesh, PxMeshScale scaling)
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.mesh - WebIDL type: PxTriangleMeshscaling - WebIDL type: PxMeshScale [Const, Ref]public static PxTriangleMeshGeometry createAt(long address, PxTriangleMesh mesh, PxMeshScale scaling, PxMeshGeometryFlags flags)
address - Pre-allocated memory, where the object is created.mesh - WebIDL type: PxTriangleMeshscaling - WebIDL type: PxMeshScale [Const, Ref]flags - WebIDL type: PxMeshGeometryFlags [Ref]public static <T> PxTriangleMeshGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxTriangleMesh mesh, PxMeshScale scaling, PxMeshGeometryFlags flags)
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.mesh - WebIDL type: PxTriangleMeshscaling - WebIDL type: PxMeshScale [Const, Ref]flags - WebIDL type: PxMeshGeometryFlags [Ref]public void destroy()
destroy in class PxGeometrypublic boolean isValid()