java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.common.PxRefCounted
physx.geometry.PxTriangleMesh
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxTriangleMesharrayGet(long baseAddress, int index) intintshortgetTriangleMaterialIndex(int triangleIndex) refitBVH()static PxTriangleMeshwrapPointer(long address) Methods inherited from class physx.common.PxRefCounted
acquireReference, getReferenceCountMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods 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
-
PxTriangleMesh
protected PxTriangleMesh() -
PxTriangleMesh
protected PxTriangleMesh(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getNbVertices
public int getNbVertices()- Returns:
- WebIDL type: unsigned long
-
getVertices
- Returns:
- WebIDL type:
PxVec3[Const]
-
getVerticesForModification
- Returns:
- WebIDL type:
PxVec3
-
refitBVH
- Returns:
- WebIDL type:
PxBounds3[Value]
-
getNbTriangles
public int getNbTriangles()- Returns:
- WebIDL type: unsigned long
-
getTriangles
- Returns:
- WebIDL type: VoidPtr [Const]
-
getTriangleMeshFlags
- Returns:
- WebIDL type:
PxTriangleMeshFlags[Value]
-
getTrianglesRemap
- Returns:
- WebIDL type:
PxU32ConstPtr[Const, Value]
-
getTriangleMaterialIndex
public short getTriangleMaterialIndex(int triangleIndex) - Parameters:
triangleIndex- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned short
-
getLocalBounds
- Returns:
- WebIDL type:
PxBounds3[Value]
-