Class PxTriangleMesh


public class PxTriangleMesh extends PxRefCounted
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxTriangleMesh

      protected PxTriangleMesh()
    • PxTriangleMesh

      protected PxTriangleMesh(long address)
  • Method Details

    • wrapPointer

      public static PxTriangleMesh wrapPointer(long address)
    • arrayGet

      public static PxTriangleMesh arrayGet(long baseAddress, int index)
    • getNbVertices

      public int getNbVertices()
      Returns:
      WebIDL type: unsigned long
    • getVertices

      public PxVec3 getVertices()
      Returns:
      WebIDL type: PxVec3 [Const]
    • getVerticesForModification

      public PxVec3 getVerticesForModification()
      Returns:
      WebIDL type: PxVec3
    • refitBVH

      public PxBounds3 refitBVH()
      Returns:
      WebIDL type: PxBounds3 [Value]
    • getNbTriangles

      public int getNbTriangles()
      Returns:
      WebIDL type: unsigned long
    • getTriangles

      public NativeObject getTriangles()
      Returns:
      WebIDL type: VoidPtr [Const]
    • getTriangleMeshFlags

      public PxTriangleMeshFlags getTriangleMeshFlags()
      Returns:
      WebIDL type: PxTriangleMeshFlags [Value]
    • getTrianglesRemap

      public PxU32ConstPtr getTrianglesRemap()
      Returns:
      WebIDL type: PxU32ConstPtr [Const, Value]
    • getTriangleMaterialIndex

      public short getTriangleMaterialIndex(int triangleIndex)
      Parameters:
      triangleIndex - WebIDL type: unsigned long
      Returns:
      WebIDL type: unsigned short
    • getLocalBounds

      public PxBounds3 getLocalBounds()
      Returns:
      WebIDL type: PxBounds3 [Value]