Package physx.physics

Class PxQueryFilterData

java.lang.Object
physx.NativeObject
physx.physics.PxQueryFilterData

public class PxQueryFilterData extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxQueryFilterData

      protected PxQueryFilterData(long address)
    • PxQueryFilterData

      public PxQueryFilterData()
    • PxQueryFilterData

      public PxQueryFilterData(PxFilterData fd, PxQueryFlags f)
      Parameters:
      fd - WebIDL type: PxFilterData [Const, Ref]
      f - WebIDL type: PxQueryFlags [Ref]
    • PxQueryFilterData

      public PxQueryFilterData(PxQueryFlags f)
      Parameters:
      f - WebIDL type: PxQueryFlags [Ref]
  • Method Details

    • wrapPointer

      public static PxQueryFilterData wrapPointer(long address)
    • arrayGet

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

      public static PxQueryFilterData createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxQueryFilterData
    • createAt

      public static <T> PxQueryFilterData 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 PxQueryFilterData
    • createAt

      public static PxQueryFilterData createAt(long address, PxFilterData fd, PxQueryFlags f)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      fd - WebIDL type: PxFilterData [Const, Ref]
      f - WebIDL type: PxQueryFlags [Ref]
      Returns:
      Stack allocated object of PxQueryFilterData
    • createAt

      public static <T> PxQueryFilterData createAt(T allocator, NativeObject.Allocator<T> allocate, PxFilterData fd, PxQueryFlags f)
      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.
      fd - WebIDL type: PxFilterData [Const, Ref]
      f - WebIDL type: PxQueryFlags [Ref]
      Returns:
      Stack allocated object of PxQueryFilterData
    • createAt

      public static PxQueryFilterData createAt(long address, PxQueryFlags f)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      f - WebIDL type: PxQueryFlags [Ref]
      Returns:
      Stack allocated object of PxQueryFilterData
    • createAt

      public static <T> PxQueryFilterData createAt(T allocator, NativeObject.Allocator<T> allocate, PxQueryFlags f)
      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.
      f - WebIDL type: PxQueryFlags [Ref]
      Returns:
      Stack allocated object of PxQueryFilterData
    • destroy

      public void destroy()
    • getData

      public PxFilterData getData()
      Returns:
      WebIDL type: PxFilterData [Value]
    • setData

      public void setData(PxFilterData value)
      Parameters:
      value - WebIDL type: PxFilterData [Value]
    • getFlags

      public PxQueryFlags getFlags()
      Returns:
      WebIDL type: PxQueryFlags [Value]
    • setFlags

      public void setFlags(PxQueryFlags value)
      Parameters:
      value - WebIDL type: PxQueryFlags [Value]