Package physx.geomutils
Class PxConvexMeshGeometry
- java.lang.Object
-
- physx.NativeObject
-
- physx.geomutils.PxGeometry
-
- physx.geomutils.PxConvexMeshGeometry
-
public class PxConvexMeshGeometry extends PxGeometry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxConvexMeshGeometry()protectedPxConvexMeshGeometry(long address)PxConvexMeshGeometry(PxConvexMesh mesh)PxConvexMeshGeometry(PxConvexMesh mesh, PxMeshScale scaling)PxConvexMeshGeometry(PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxConvexMeshGeometrycreateAt(long address, PxConvexMesh mesh)static PxConvexMeshGeometrycreateAt(long address, PxConvexMesh mesh, PxMeshScale scaling)static PxConvexMeshGeometrycreateAt(long address, PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags)static <T> PxConvexMeshGeometrycreateAt(T allocator, NativeObject.Allocator<T> allocate, PxConvexMesh mesh)static <T> PxConvexMeshGeometrycreateAt(T allocator, NativeObject.Allocator<T> allocate, PxConvexMesh mesh, PxMeshScale scaling)static <T> PxConvexMeshGeometrycreateAt(T allocator, NativeObject.Allocator<T> allocate, PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags)voiddestroy()static PxConvexMeshGeometrywrapPointer(long address)-
Methods inherited from class physx.geomutils.PxGeometry
getType
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PxConvexMeshGeometry
protected PxConvexMeshGeometry()
-
PxConvexMeshGeometry
protected PxConvexMeshGeometry(long address)
-
PxConvexMeshGeometry
public PxConvexMeshGeometry(PxConvexMesh mesh)
- Parameters:
mesh- WebIDL type:PxConvexMesh
-
PxConvexMeshGeometry
public PxConvexMeshGeometry(PxConvexMesh mesh, PxMeshScale scaling)
- Parameters:
mesh- WebIDL type:PxConvexMeshscaling- WebIDL type:PxMeshScale[Const, Ref]
-
PxConvexMeshGeometry
public PxConvexMeshGeometry(PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags)
- Parameters:
mesh- WebIDL type:PxConvexMeshscaling- WebIDL type:PxMeshScale[Const, Ref]flags- WebIDL type:PxConvexMeshGeometryFlags[Ref]
-
-
Method Detail
-
wrapPointer
public static PxConvexMeshGeometry wrapPointer(long address)
-
createAt
public static PxConvexMeshGeometry createAt(long address, PxConvexMesh mesh)
- Parameters:
address- Pre-allocated memory, where the object is created.mesh- WebIDL type:PxConvexMesh- Returns:
- Stack allocated object of PxConvexMeshGeometry
-
createAt
public static <T> PxConvexMeshGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxConvexMesh mesh)
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
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:PxConvexMesh- Returns:
- Stack allocated object of PxConvexMeshGeometry
-
createAt
public static PxConvexMeshGeometry createAt(long address, PxConvexMesh mesh, PxMeshScale scaling)
- Parameters:
address- Pre-allocated memory, where the object is created.mesh- WebIDL type:PxConvexMeshscaling- WebIDL type:PxMeshScale[Const, Ref]- Returns:
- Stack allocated object of PxConvexMeshGeometry
-
createAt
public static <T> PxConvexMeshGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxConvexMesh mesh, PxMeshScale scaling)
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
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:PxConvexMeshscaling- WebIDL type:PxMeshScale[Const, Ref]- Returns:
- Stack allocated object of PxConvexMeshGeometry
-
createAt
public static PxConvexMeshGeometry createAt(long address, PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags)
- Parameters:
address- Pre-allocated memory, where the object is created.mesh- WebIDL type:PxConvexMeshscaling- WebIDL type:PxMeshScale[Const, Ref]flags- WebIDL type:PxConvexMeshGeometryFlags[Ref]- Returns:
- Stack allocated object of PxConvexMeshGeometry
-
createAt
public static <T> PxConvexMeshGeometry createAt(T allocator, NativeObject.Allocator<T> allocate, PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags)
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
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:PxConvexMeshscaling- WebIDL type:PxMeshScale[Const, Ref]flags- WebIDL type:PxConvexMeshGeometryFlags[Ref]- Returns:
- Stack allocated object of PxConvexMeshGeometry
-
destroy
public void destroy()
- Overrides:
destroyin classPxGeometry
-
-