Class AudioClipImportOptions

Contains import options you may use to control how an audio clip is imported.

Hierarchy (view full)

Constructors

Accessors

Methods

Constructors

Accessors

  • get bitDepth(): number
  • Size of a single sample in bits. The clip will be converted to this bit depth on import.

    Returns number

  • set bitDepth(value): void
  • Parameters

    • value: number

    Returns void

  • get is3D(): boolean
  • Determines should the clip be played as spatial (3D) audio or as normal audio. 3D clips will be converted to mono on import.

    Returns boolean

  • set is3D(value): void
  • Parameters

    • value: boolean

    Returns void

Methods

  • Virtual

    Checks if this object has the same contents as the provided one.

    Parameters

    Returns boolean