ThreePipe
    Preparing search index...

    Class GLTFWriter2

    Hierarchy

    Index

    Constructors

    Properties

    _defaultMaterial: MeshStandardMaterial<MaterialEventMap> = ...
    options: GLTFExporterOptions & {
        exporterOptions: GLTFExporter2Options;
        externalImagesInExtras: boolean;
    }
    TPAssetVersion: 1

    Methods

    • Parameters

      • image: any
      • format: PixelFormat
      • flipY: boolean
      • mimeType: string = 'image/png'

      Returns number

    • Used in GLTFWriter2.processTexture for rootPath. Note that this does not check for options.exporterOptions.embedUrlImages, it must be done separately.

      Parameters

      • image: any
      • uri: string
      • flipY: boolean
      • mimeType: string = 'image/png'

      Returns any