Class PxParticleRigidAttachment


public class PxParticleRigidAttachment extends PxParticleRigidFilterPair
Struct to specify attachment between a particle/vertex and a rigid
  • 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

      public static PxParticleRigidAttachment wrapPointer(long address)
    • arrayGet

      public static PxParticleRigidAttachment arrayGet(long baseAddress, int index)
    • createAt

      public static PxParticleRigidAttachment createAt(long address)
      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

      public PxVec4 getMLocalPose0()
      Returns:
      WebIDL type: PxVec4 [Value]
    • setMLocalPose0

      public void setMLocalPose0(PxVec4 value)
      Parameters:
      value - WebIDL type: PxVec4 [Value]
    • getMConeLimitParams

      public PxConeLimitParams getMConeLimitParams()
      Parameters to specify cone constraints
    • setMConeLimitParams

      public void setMConeLimitParams(PxConeLimitParams value)
      Parameters to specify cone constraints