Package physx.cooking
Class PxConvexMeshDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.cooking.PxConvexMeshDesc
-
public class PxConvexMeshDesc extends NativeObject
-
-
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 PxConvexMeshDesc()protectedPxConvexMeshDesc(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxConvexMeshDesccreateAt(long address)static <T> PxConvexMeshDesccreateAt(T allocator, NativeObject.Allocator<T> allocate)voiddestroy()PxConvexFlagsgetFlags()PxBoundedDatagetPoints()voidsetFlags(PxConvexFlags value)voidsetPoints(PxBoundedData value)static PxConvexMeshDescwrapPointer(long address)-
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
-
-
Method Detail
-
wrapPointer
public static PxConvexMeshDesc wrapPointer(long address)
-
createAt
public static PxConvexMeshDesc createAt(long address)
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxConvexMeshDesc
-
createAt
public static <T> PxConvexMeshDesc createAt(T allocator, NativeObject.Allocator<T> allocate)
- 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.- Returns:
- Stack allocated object of PxConvexMeshDesc
-
destroy
public void destroy()
-
getPoints
public PxBoundedData getPoints()
- Returns:
- WebIDL type:
PxBoundedData[Value]
-
setPoints
public void setPoints(PxBoundedData value)
- Parameters:
value- WebIDL type:PxBoundedData[Value]
-
getFlags
public PxConvexFlags getFlags()
- Returns:
- WebIDL type:
PxConvexFlags[Value]
-
setFlags
public void setFlags(PxConvexFlags value)
- Parameters:
value- WebIDL type:PxConvexFlags[Value]
-
-