Package physx.geomutils
Class PxGeometryHolder
- java.lang.Object
-
- physx.NativeObject
-
- physx.geomutils.PxGeometryHolder
-
public class PxGeometryHolder extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxGeometryHolder()protectedPxGeometryHolder(long address)PxGeometryHolder(PxGeometry geometry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PxBoxGeometrybox()PxCapsuleGeometrycapsule()PxConvexMeshGeometryconvexMesh()voiddestroy()intgetType()PxHeightFieldGeometryheightField()PxPlaneGeometryplane()PxSphereGeometrysphere()voidstoreAny(PxGeometry geometry)PxTriangleMeshGeometrytriangleMesh()static PxGeometryHolderwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Constructor Detail
-
PxGeometryHolder
protected PxGeometryHolder(long address)
-
PxGeometryHolder
public PxGeometryHolder()
-
PxGeometryHolder
public PxGeometryHolder(PxGeometry geometry)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]
-
-
Method Detail
-
wrapPointer
public static PxGeometryHolder wrapPointer(long address)
-
destroy
public void destroy()
-
getType
public int getType()
- Returns:
- WebIDL type:
PxGeometryTypeEnum[enum]
-
sphere
public PxSphereGeometry sphere()
- Returns:
- WebIDL type:
PxSphereGeometry[Ref]
-
plane
public PxPlaneGeometry plane()
- Returns:
- WebIDL type:
PxPlaneGeometry[Ref]
-
capsule
public PxCapsuleGeometry capsule()
- Returns:
- WebIDL type:
PxCapsuleGeometry[Ref]
-
box
public PxBoxGeometry box()
- Returns:
- WebIDL type:
PxBoxGeometry[Ref]
-
convexMesh
public PxConvexMeshGeometry convexMesh()
- Returns:
- WebIDL type:
PxConvexMeshGeometry[Ref]
-
triangleMesh
public PxTriangleMeshGeometry triangleMesh()
- Returns:
- WebIDL type:
PxTriangleMeshGeometry[Ref]
-
heightField
public PxHeightFieldGeometry heightField()
- Returns:
- WebIDL type:
PxHeightFieldGeometry[Ref]
-
storeAny
public void storeAny(PxGeometry geometry)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]
-
-