Package physx.physics

Class PxFilterData

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxFilterData

        protected PxFilterData​(long address)
      • PxFilterData

        public PxFilterData()
      • PxFilterData

        public PxFilterData​(int w0,
                            int w1,
                            int w2,
                            int w3)
        Parameters:
        w0 - unsigned long
        w1 - unsigned long
        w2 - unsigned long
        w3 - unsigned long
    • Method Detail

      • wrapPointer

        public static PxFilterData wrapPointer​(long address)
      • malloc

        public static PxFilterData malloc​(long address)
        Parameters:
        address - where the object is allocated
        Returns:
        Stack allocated object of PxFilterData
      • malloc

        public static <T> PxFilterData malloc​(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 PxFilterData
      • malloc

        public static PxFilterData malloc​(long address,
                                          int w0,
                                          int w1,
                                          int w2,
                                          int w3)
        Parameters:
        address - where the object is allocated
        w0 - unsigned long
        w1 - unsigned long
        w2 - unsigned long
        w3 - unsigned long
        Returns:
        Stack allocated object of PxFilterData
      • malloc

        public static <T> PxFilterData malloc​(T allocator,
                                              NativeObject.Allocator<T> allocate,
                                              int w0,
                                              int w1,
                                              int w2,
                                              int w3)
        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.
        w0 - unsigned long
        w1 - unsigned long
        w2 - unsigned long
        w3 - unsigned long
        Returns:
        Stack allocated object of PxFilterData
      • destroy

        public void destroy()
      • getWord0

        public int getWord0()
        Returns:
        unsigned long
      • setWord0

        public void setWord0​(int value)
        Parameters:
        value - unsigned long
      • getWord1

        public int getWord1()
        Returns:
        unsigned long
      • setWord1

        public void setWord1​(int value)
        Parameters:
        value - unsigned long
      • getWord2

        public int getWord2()
        Returns:
        unsigned long
      • setWord2

        public void setWord2​(int value)
        Parameters:
        value - unsigned long
      • getWord3

        public int getWord3()
        Returns:
        unsigned long
      • setWord3

        public void setWord3​(int value)
        Parameters:
        value - unsigned long