Class PxBoxControllerDesc

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxBoxControllerDesc

        protected PxBoxControllerDesc​(long address)
      • PxBoxControllerDesc

        public PxBoxControllerDesc()
    • Method Detail

      • createAt

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

        public static <T> PxBoxControllerDesc 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 PxBoxControllerDesc
      • destroy

        public void destroy()
      • getHalfHeight

        public float getHalfHeight()
        Returns:
        WebIDL type: float
      • setHalfHeight

        public void setHalfHeight​(float value)
        Parameters:
        value - WebIDL type: float
      • getHalfSideExtent

        public float getHalfSideExtent()
        Returns:
        WebIDL type: float
      • setHalfSideExtent

        public void setHalfSideExtent​(float value)
        Parameters:
        value - WebIDL type: float
      • getHalfForwardExtent

        public float getHalfForwardExtent()
        Returns:
        WebIDL type: float
      • setHalfForwardExtent

        public void setHalfForwardExtent​(float value)
        Parameters:
        value - WebIDL type: float
      • setToDefault

        public void setToDefault()