java.lang.Object
physx.NativeObject
physx.geometry.PxGeometry
physx.geometry.PxConvexMeshGeometry
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedPxConvexMeshGeometry(long address) PxConvexMeshGeometry(PxConvexMesh mesh, PxMeshScale scaling) PxConvexMeshGeometry(PxConvexMesh mesh, PxMeshScale scaling, PxConvexMeshGeometryFlags flags) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxConvexMeshGeometryarrayGet(long baseAddress, int index) 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()getScale()voidsetConvexMesh(PxConvexMesh value) voidvoidsetScale(PxMeshScale value) static PxConvexMeshGeometrywrapPointer(long address) Methods inherited from class physx.geometry.PxGeometry
getTypeMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxConvexMeshGeometry
protected PxConvexMeshGeometry() -
PxConvexMeshGeometry
protected PxConvexMeshGeometry(long address) -
PxConvexMeshGeometry
- Parameters:
mesh- WebIDL type:PxConvexMesh
-
PxConvexMeshGeometry
- 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 Details
-
wrapPointer
-
arrayGet
-
createAt
- 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
- 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
-
getScale
- Returns:
- WebIDL type:
PxMeshScale[Value]
-
setScale
- Parameters:
value- WebIDL type:PxMeshScale[Value]
-
getConvexMesh
- Returns:
- WebIDL type:
PxConvexMesh
-
setConvexMesh
- Parameters:
value- WebIDL type:PxConvexMesh
-
getMeshFlags
- Returns:
- WebIDL type:
PxConvexMeshGeometryFlags[Value]
-
setMeshFlags
- Parameters:
value- WebIDL type:PxConvexMeshGeometryFlags[Value]
-