Class PxBoxGeometry

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxBoxGeometry

        protected PxBoxGeometry()
      • PxBoxGeometry

        protected PxBoxGeometry​(long address)
      • PxBoxGeometry

        public PxBoxGeometry​(float hx,
                             float hy,
                             float hz)
        Parameters:
        hx - WebIDL type: float
        hy - WebIDL type: float
        hz - WebIDL type: float
    • Method Detail

      • wrapPointer

        public static PxBoxGeometry wrapPointer​(long address)
      • createAt

        public static PxBoxGeometry createAt​(long address,
                                             float hx,
                                             float hy,
                                             float hz)
        Parameters:
        address - Pre-allocated memory, where the object is created.
        hx - WebIDL type: float
        hy - WebIDL type: float
        hz - WebIDL type: float
        Returns:
        Stack allocated object of PxBoxGeometry
      • createAt

        public static <T> PxBoxGeometry createAt​(T allocator,
                                                 NativeObject.Allocator<T> allocate,
                                                 float hx,
                                                 float hy,
                                                 float hz)
        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.
        hx - WebIDL type: float
        hy - WebIDL type: float
        hz - WebIDL type: float
        Returns:
        Stack allocated object of PxBoxGeometry