java.lang.Object
physx.NativeObject
physx.particles.PxParticleClothDesc
-
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 PxParticleClothDescarrayGet(long baseAddress, int index) static PxParticleClothDesccreateAt(long address) static <T> PxParticleClothDesccreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()intintintintvoidsetCloths(PxParticleCloth value) voidsetNbCloths(int value) voidsetNbParticles(int value) voidsetNbSprings(int value) voidsetNbTriangles(int value) voidsetRestPositions(PxVec4 value) voidsetSprings(PxParticleSpring value) voidsetTriangles(PxU32Ptr value) static PxParticleClothDescwrapPointer(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
-
PxParticleClothDesc
protected PxParticleClothDesc(long address) -
PxParticleClothDesc
public PxParticleClothDesc()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxParticleClothDesc
-
createAt
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.- Returns:
- Stack allocated object of PxParticleClothDesc
-
destroy
public void destroy() -
getCloths
- Returns:
- WebIDL type:
PxParticleCloth
-
setCloths
- Parameters:
value- WebIDL type:PxParticleCloth
-
getTriangles
- Returns:
- WebIDL type:
PxU32Ptr[Value]
-
setTriangles
- Parameters:
value- WebIDL type:PxU32Ptr[Value]
-
getSprings
- Returns:
- WebIDL type:
PxParticleSpring
-
setSprings
- Parameters:
value- WebIDL type:PxParticleSpring
-
getRestPositions
- Returns:
- WebIDL type:
PxVec4
-
setRestPositions
- Parameters:
value- WebIDL type:PxVec4
-
getNbCloths
public int getNbCloths()- Returns:
- WebIDL type: unsigned long
-
setNbCloths
public void setNbCloths(int value) - Parameters:
value- WebIDL type: unsigned long
-
getNbSprings
public int getNbSprings()- Returns:
- WebIDL type: unsigned long
-
setNbSprings
public void setNbSprings(int value) - Parameters:
value- WebIDL type: unsigned long
-
getNbTriangles
public int getNbTriangles()- Returns:
- WebIDL type: unsigned long
-
setNbTriangles
public void setNbTriangles(int value) - Parameters:
value- WebIDL type: unsigned long
-
getNbParticles
public int getNbParticles()- Returns:
- WebIDL type: unsigned long
-
setNbParticles
public void setNbParticles(int value) - Parameters:
value- WebIDL type: unsigned long
-