Class PxGeometry

java.lang.Object
physx.NativeObject
physx.geometry.PxGeometry
Direct Known Subclasses:
PxBoxGeometry, PxCapsuleGeometry, PxConvexMeshGeometry, PxCustomGeometry, PxHeightFieldGeometry, PxPlaneGeometry, PxSphereGeometry, PxTriangleMeshGeometry

public class PxGeometry extends NativeObject
A geometry object.

A geometry object defines the characteristics of a spatial object, but without any information about its placement in the world.

Note: This is an abstract class. You cannot create instances directly. Create an instance of one of the derived classes instead.

  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxGeometry

      protected PxGeometry()
    • PxGeometry

      protected PxGeometry(long address)
  • Method Details

    • wrapPointer

      public static PxGeometry wrapPointer(long address)
    • arrayGet

      public static PxGeometry arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getType

      public PxGeometryTypeEnum getType()
      Returns the type of the geometry.
      Returns:
      The type of the object.