DefaultAttribs: { antialias: boolean; enableWboit: boolean; pickPadding: number; pickScale: number; pixelScale: number; preferWebGl1: boolean; preserveDrawingBuffer: boolean }

Type declaration

  • antialias: boolean

    true by default to avoid issues with Safari (Jan 2021)

  • enableWboit: boolean
  • pickPadding: number

    extra pixels to around target to check in case target is empty

  • pickScale: number
  • pixelScale: number
  • preferWebGl1: boolean
  • preserveDrawingBuffer: boolean

    true to support multiple Canvas3D objects with a single context

Generated using TypeDoc