Class PxHeightFieldDesc

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxHeightFieldDesc

        protected PxHeightFieldDesc​(long address)
      • PxHeightFieldDesc

        public PxHeightFieldDesc()
    • Method Detail

      • createAt

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

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

        public void destroy()
      • getNbRows

        public int getNbRows()
        Returns:
        WebIDL type: unsigned long
      • setNbRows

        public void setNbRows​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getNbColumns

        public int getNbColumns()
        Returns:
        WebIDL type: unsigned long
      • setNbColumns

        public void setNbColumns​(int value)
        Parameters:
        value - WebIDL type: unsigned long
      • getConvexEdgeThreshold

        public float getConvexEdgeThreshold()
        Returns:
        WebIDL type: float
      • setConvexEdgeThreshold

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

        public void setToDefault()
      • isValid

        public boolean isValid()
        Returns:
        WebIDL type: boolean