java.lang.Object
physx.NativeObject
physx.particles.PxParticleClothBufferHelper
-
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 TypeMethodDescriptionvoidaddCloth(float blendScale, float restVolume, float pressure, PxU32Ptr triangles, int numTriangles, PxParticleSpring springs, int numSprings, PxVec4 restPositions, int numParticles) voidaddCloth(PxParticleCloth particleCloth, PxU32Ptr triangles, int numTriangles, PxParticleSpring springs, int numSprings, PxVec4 restPositions, int numParticles) static PxParticleClothBufferHelperarrayGet(long baseAddress, int index) intintintintintintintintvoidrelease()static PxParticleClothBufferHelperwrapPointer(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
-
PxParticleClothBufferHelper
protected PxParticleClothBufferHelper() -
PxParticleClothBufferHelper
protected PxParticleClothBufferHelper(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
release
public void release() -
getMaxCloths
public int getMaxCloths()- Returns:
- WebIDL type: unsigned long
-
getNumCloths
public int getNumCloths()- Returns:
- WebIDL type: unsigned long
-
getMaxSprings
public int getMaxSprings()- Returns:
- WebIDL type: unsigned long
-
getNumSprings
public int getNumSprings()- Returns:
- WebIDL type: unsigned long
-
getMaxTriangles
public int getMaxTriangles()- Returns:
- WebIDL type: unsigned long
-
getNumTriangles
public int getNumTriangles()- Returns:
- WebIDL type: unsigned long
-
getMaxParticles
public int getMaxParticles()- Returns:
- WebIDL type: unsigned long
-
getNumParticles
public int getNumParticles()- Returns:
- WebIDL type: unsigned long
-
addCloth
public void addCloth(PxParticleCloth particleCloth, PxU32Ptr triangles, int numTriangles, PxParticleSpring springs, int numSprings, PxVec4 restPositions, int numParticles) - Parameters:
particleCloth- WebIDL type:PxParticleCloth[Const, Ref]triangles- WebIDL type:PxU32Ptr[Const, Ref]numTriangles- WebIDL type: unsigned longsprings- WebIDL type:PxParticleSpring[Const]numSprings- WebIDL type: unsigned longrestPositions- WebIDL type:PxVec4[Const]numParticles- WebIDL type: unsigned long
-
addCloth
public void addCloth(float blendScale, float restVolume, float pressure, PxU32Ptr triangles, int numTriangles, PxParticleSpring springs, int numSprings, PxVec4 restPositions, int numParticles) - Parameters:
blendScale- WebIDL type: floatrestVolume- WebIDL type: floatpressure- WebIDL type: floattriangles- WebIDL type:PxU32Ptr[Const, Ref]numTriangles- WebIDL type: unsigned longsprings- WebIDL type:PxParticleSpring[Const]numSprings- WebIDL type: unsigned longrestPositions- WebIDL type:PxVec4[Const]numParticles- WebIDL type: unsigned long
-
getParticleClothDesc
- Returns:
- WebIDL type:
PxParticleClothDesc[Ref]
-