ThreePipe
    Preparing search index...

    Class SVGTextureLoader

    Same as TextureLoader but loads SVG images, fixes issues with windows not loading svg files without a defined size. See - https://github.com/mrdoob/three.js/issues/30899

    todo - create example for test, see sample code in gh issue.

    Hierarchy

    Index

    Constructors

    Properties

    USE_CANVAS_TEXTURE: boolean = ...

    Methods

    • Parameters

      • url: string
      • onLoad: (texture: Texture) => void
      • OptionalonProgress: (event: ProgressEvent) => void
      • OptionalonError: (err: unknown) => void

      Returns Texture