Class PxTriangleMesh


  • public class PxTriangleMesh
    extends PxBase
    • Constructor Detail

      • PxTriangleMesh

        protected PxTriangleMesh()
      • PxTriangleMesh

        protected PxTriangleMesh​(long address)
    • Method Detail

      • wrapPointer

        public static PxTriangleMesh wrapPointer​(long address)
      • 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
      • getNbTriangles

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

        public NativeObject getTriangles()
        Returns:
        WebIDL type: VoidPtr [Const]
      • 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]
      • getReferenceCount

        public int getReferenceCount()
        Returns:
        WebIDL type: unsigned long
      • acquireReference

        public void acquireReference()