java.lang.Object
physx.NativeObject
physx.particles.PxParticleRigidFilterPair
physx.particles.PxParticleRigidAttachment
Struct to specify attachment between a particle/vertex and a rigid
-
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 PxParticleRigidAttachmentarrayGet(long baseAddress, int index) static PxParticleRigidAttachmentcreateAt(long address) static <T> PxParticleRigidAttachmentcreateAt(T allocator, NativeObject.Allocator<T> allocate) Parameters to specify cone constraintsvoidsetMLocalPose0(PxVec4 value) voidsetMParams(PxConeLimitParams value) Parameters to specify cone constraintsstatic PxParticleRigidAttachmentwrapPointer(long address) Methods inherited from class physx.particles.PxParticleRigidFilterPair
getMID0, getMID1, setMID0, setMID1Methods 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
-
PxParticleRigidAttachment
protected PxParticleRigidAttachment(long address) -
PxParticleRigidAttachment
public PxParticleRigidAttachment()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxParticleRigidAttachment
-
createAt
public static <T> PxParticleRigidAttachment createAt(T allocator, NativeObject.Allocator<T> allocate) - 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 PxParticleRigidAttachment
-
getMLocalPose0
- Returns:
- WebIDL type:
PxVec4[Value]
-
setMLocalPose0
- Parameters:
value- WebIDL type:PxVec4[Value]
-
getMParams
Parameters to specify cone constraints -
setMParams
Parameters to specify cone constraints
-