Class PxTriangle

java.lang.Object
physx.NativeObject
physx.geometry.PxTriangle

public class PxTriangle extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • 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 Details

    • wrapPointer

      public static PxTriangle wrapPointer(long address)
    • arrayGet

      public static PxTriangle arrayGet(long baseAddress, int index)
    • 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]