Package physx.geomutils
Class PxTriangle
- java.lang.Object
-
- physx.NativeObject
-
- physx.geomutils.PxTriangle
-
public class PxTriangle extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxTriangle()protectedPxTriangle(long address)PxTriangle(PxVec3 p0, PxVec3 p1, PxVec3 p2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatarea()voiddenormalizedNormal(PxVec3 normal)voiddestroy()voidnormal(PxVec3 normal)PxVec3pointFromUV(float u, float v)static PxTrianglewrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxTriangle wrapPointer(long address)
-
destroy
public void destroy()
-
denormalizedNormal
public void denormalizedNormal(PxVec3 normal)
- Parameters:
normal- WebIDL type:PxVec3[Ref]
-
area
public float area()
- Returns:
- WebIDL type: float
-
-