Package physx.physics

Class PxSceneFlags

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxSceneFlags

        protected PxSceneFlags()
      • PxSceneFlags

        protected PxSceneFlags​(long address)
      • PxSceneFlags

        public PxSceneFlags​(int flags)
        Parameters:
        flags - unsigned long
    • Method Detail

      • wrapPointer

        public static PxSceneFlags wrapPointer​(long address)
      • malloc

        public static PxSceneFlags malloc​(long address,
                                          int flags)
        Parameters:
        address - where the object is allocated
        flags - unsigned long
        Returns:
        Stack allocated object of PxSceneFlags
      • malloc

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

        public void destroy()
      • isSet

        public boolean isSet​(int flag)
        Parameters:
        flag - PxSceneFlagEnum [enum]
        Returns:
        boolean
      • set

        public void set​(int flag)
        Parameters:
        flag - PxSceneFlagEnum [enum]
      • clear

        public void clear​(int flag)
        Parameters:
        flag - PxSceneFlagEnum [enum]