java.lang.Object
physx.NativeObject
physx.geometry.PxSimpleTriangleMesh
- Direct Known Subclasses:
PxTriangleMeshDesc
-
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 PxSimpleTriangleMesharrayGet(long baseAddress, int index) voiddestroy()getFlags()booleanisValid()voidsetFlags(PxMeshFlags value) voidsetPoints(PxBoundedData value) voidvoidsetTriangles(PxBoundedData value) static PxSimpleTriangleMeshwrapPointer(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
-
PxSimpleTriangleMesh
protected PxSimpleTriangleMesh(long address) -
PxSimpleTriangleMesh
public PxSimpleTriangleMesh()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getPoints
- Returns:
- WebIDL type:
PxBoundedData[Value]
-
setPoints
- Parameters:
value- WebIDL type:PxBoundedData[Value]
-
getTriangles
- Returns:
- WebIDL type:
PxBoundedData[Value]
-
setTriangles
- Parameters:
value- WebIDL type:PxBoundedData[Value]
-
getFlags
- Returns:
- WebIDL type:
PxMeshFlags[Value]
-
setFlags
- Parameters:
value- WebIDL type:PxMeshFlags[Value]
-
setToDefault
public void setToDefault() -
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-