Class PxTriangle

    • Constructor Detail

      • PxTriangle

        protected PxTriangle​(long address)
      • PxTriangle

        public PxTriangle()
      • PxTriangle

        public PxTriangle​(PxVec3 p0,
                          PxVec3 p1,
                          PxVec3 p2)
        Parameters:
        p0 - WebIDL type: PxVec3 [Const, Ref]
        p1 - WebIDL type: PxVec3 [Const, Ref]
        p2 - WebIDL type: PxVec3 [Const, Ref]
    • Method Detail

      • wrapPointer

        public static PxTriangle wrapPointer​(long address)
      • destroy

        public void destroy()
      • normal

        public void normal​(PxVec3 normal)
        Parameters:
        normal - WebIDL type: PxVec3 [Ref]
      • denormalizedNormal

        public void denormalizedNormal​(PxVec3 normal)
        Parameters:
        normal - WebIDL type: PxVec3 [Ref]
      • area

        public float area()
        Returns:
        WebIDL type: float
      • pointFromUV

        public PxVec3 pointFromUV​(float u,
                                  float v)
        Parameters:
        u - WebIDL type: float
        v - WebIDL type: float
        Returns:
        WebIDL type: PxVec3 [Value]