java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.particles.PxParticleBuffer
physx.particles.PxParticleClothBuffer
-
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 PxParticleClothBufferarrayGet(long baseAddress, int index) intintvoidsetCloths(PxPartitionedParticleCloth cloths) voidsetNbTriangles(int nbTriangles) static PxParticleClothBufferwrapPointer(long address) Methods inherited from class physx.particles.PxParticleBuffer
getBufferIndex, getBufferUniqueId, getFlatListStartIndex, getMaxParticles, getMaxParticleVolumes, getNbActiveParticles, getNbParticleVolumes, getParticleVolumes, getPhases, getPositionInvMasses, getVelocities, raiseFlags, release, setNbActiveParticles, setNbParticleVolumes, setRigidAttachments, setRigidFiltersMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, 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
-
PxParticleClothBuffer
protected PxParticleClothBuffer() -
PxParticleClothBuffer
protected PxParticleClothBuffer(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getRestPositions
- Returns:
- WebIDL type:
PxVec4
-
getTriangles
- Returns:
- WebIDL type: VoidPtr
-
setNbTriangles
public void setNbTriangles(int nbTriangles) - Parameters:
nbTriangles- WebIDL type: unsigned long
-
getNbTriangles
public int getNbTriangles()- Returns:
- WebIDL type: unsigned long
-
getNbSprings
public int getNbSprings()- Returns:
- WebIDL type: unsigned long
-
getSprings
- Returns:
- WebIDL type:
PxParticleSpring
-
setCloths
- Parameters:
cloths- WebIDL type:PxPartitionedParticleCloth[Ref]
-