java.lang.Object
physx.NativeObject
physx.geometry.PxTriangle
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPxTriangle(long address) PxTriangle(PxVec3 p0, PxVec3 p1, PxVec3 p2) -
Method Summary
Modifier and TypeMethodDescriptionfloatarea()static PxTrianglearrayGet(long baseAddress, int index) voiddenormalizedNormal(PxVec3 normal) voiddestroy()voidpointFromUV(float u, float v) static PxTrianglewrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
normal
- Parameters:
normal- WebIDL type:PxVec3[Ref]
-
denormalizedNormal
- Parameters:
normal- WebIDL type:PxVec3[Ref]
-
area
public float area()- Returns:
- WebIDL type: float
-
pointFromUV
- Parameters:
u- WebIDL type: floatv- WebIDL type: float- Returns:
- WebIDL type:
PxVec3[Value]
-