Function Panel

A simple HTML panel that can be used as an overlay on the 3d canvas.

  • Parameters

    • props: PanelProps & {} & RefAttributes<HTMLDivElement>
      • Optionalheight?: number
      • Optionaloffset?: [number, number]
      • Optionalopacity?: number
      • Optionalorigin?: "top-left" | "top-right" | "bottom-left" | "bottom-right"
      • Optionalpadding?: number
      • Optionalwidth?: number

      Returns ReactNode