java.lang.Object
physx.NativeObject
physx.particles.PxParticleClothCooker
-
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 PxParticleClothCookerarrayGet(long baseAddress, int index) voidvoidvoidcookConstraints(PxParticleClothConstraint constraints) voidcookConstraints(PxParticleClothConstraint constraints, int numConstraints) intfloatintvoidrelease()static PxParticleClothCookerwrapPointer(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
-
PxParticleClothCooker
protected PxParticleClothCooker() -
PxParticleClothCooker
protected PxParticleClothCooker(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
release
public void release() -
cookConstraints
public void cookConstraints() -
cookConstraints
- Parameters:
constraints- WebIDL type:PxParticleClothConstraint[Const]
-
cookConstraints
- Parameters:
constraints- WebIDL type:PxParticleClothConstraint[Const]numConstraints- WebIDL type: unsigned long
-
getTriangleIndices
- Returns:
- WebIDL type: VoidPtr
-
getTriangleIndicesCount
public int getTriangleIndicesCount()- Returns:
- WebIDL type: unsigned long
-
getConstraints
- Returns:
- WebIDL type:
PxParticleClothConstraint
-
getConstraintCount
public int getConstraintCount()- Returns:
- WebIDL type: unsigned long
-
calculateMeshVolume
public void calculateMeshVolume() -
getMeshVolume
public float getMeshVolume()- Returns:
- WebIDL type: float
-