Class PxRevoluteJointFlags

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxRevoluteJointFlags

        protected PxRevoluteJointFlags()
      • PxRevoluteJointFlags

        protected PxRevoluteJointFlags​(long address)
      • PxRevoluteJointFlags

        public PxRevoluteJointFlags​(short flags)
        Parameters:
        flags - WebIDL type: unsigned short
    • Method Detail

      • createAt

        public static PxRevoluteJointFlags createAt​(long address,
                                                    short flags)
        Parameters:
        address - Pre-allocated memory, where the object is created.
        flags - WebIDL type: unsigned short
        Returns:
        Stack allocated object of PxRevoluteJointFlags
      • createAt

        public static <T> PxRevoluteJointFlags createAt​(T allocator,
                                                        NativeObject.Allocator<T> allocate,
                                                        short 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 - WebIDL type: unsigned short
        Returns:
        Stack allocated object of PxRevoluteJointFlags
      • destroy

        public void destroy()
      • isSet

        public boolean isSet​(int flag)
        Parameters:
        flag - WebIDL type: PxRevoluteJointFlagEnum [enum]
        Returns:
        WebIDL type: boolean