Class PxHullPolygon

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxHullPolygon

        protected PxHullPolygon​(long address)
      • PxHullPolygon

        public PxHullPolygon()
    • Method Detail

      • wrapPointer

        public static PxHullPolygon wrapPointer​(long address)
      • createAt

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

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

        public void destroy()
      • getMPlane

        public float getMPlane​(int index)
        Parameters:
        index - Array index
        Returns:
        WebIDL type: float
      • setMPlane

        public void setMPlane​(int index,
                              float value)
        Parameters:
        index - Array index
        value - WebIDL type: float
      • getMNbVerts

        public short getMNbVerts()
        Returns:
        WebIDL type: short
      • setMNbVerts

        public void setMNbVerts​(short value)
        Parameters:
        value - WebIDL type: short
      • getMIndexBase

        public short getMIndexBase()
        Returns:
        WebIDL type: short
      • setMIndexBase

        public void setMIndexBase​(short value)
        Parameters:
        value - WebIDL type: short