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 - WebIDL type: unsigned long
        w1 - WebIDL type: unsigned long
        w2 - WebIDL type: unsigned long
        w3 - WebIDL type: unsigned long
    • Method Detail

      • wrapPointer

        public static PxFilterData wrapPointer​(long address)
      • createAt

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

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

        public static PxFilterData createAt​(long address,
                                            int w0,
                                            int w1,
                                            int w2,
                                            int w3)
        Parameters:
        address - Pre-allocated memory, where the object is created.
        w0 - WebIDL type: unsigned long
        w1 - WebIDL type: unsigned long
        w2 - WebIDL type: unsigned long
        w3 - WebIDL type: unsigned long
        Returns:
        Stack allocated object of PxFilterData
      • createAt

        public static <T> PxFilterData createAt​(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 - WebIDL type: unsigned long
        w1 - WebIDL type: unsigned long
        w2 - WebIDL type: unsigned long
        w3 - WebIDL type: unsigned long
        Returns:
        Stack allocated object of PxFilterData
      • destroy

        public void destroy()
      • getWord0

        public int getWord0()
        Returns:
        WebIDL type: unsigned long
      • setWord0

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

        public int getWord1()
        Returns:
        WebIDL type: unsigned long
      • setWord1

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

        public int getWord2()
        Returns:
        WebIDL type: unsigned long
      • setWord2

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

        public int getWord3()
        Returns:
        WebIDL type: unsigned long
      • setWord3

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