The absolute path to the image file.
Optional
wrapMode: WrapModeThe wrap mode for the texture. Defaults to Editor.Assets.WrapMode.ClampToEdge
.
Optional
imageImportDestinationDir: stringThe directory where the image will be imported. Defaults to "Images".
An object containing the image asset and texture parameter.
Imports an image as a texture and sets up its wrap mode.