AssetTexture.ChangeTextureType Method

Parent Object: AssetTexture

Description

Method that changes the type of of this texture.

Syntax

AssetTexture.ChangeTextureType( TextureType As AssetTextureTypeEnum, [ImageFilename] As Variant )

Parameters

Name Type Description
TextureType AssetTextureTypeEnum Input enum value that specifies which type of texture to change to. If kAssetTextureTypeImage is used you must also use the ImageFilename argument to specify the image.
ImageFilename Variant Input String specifying the full filename of the texture file to use. This argument is ignored except in the case where the TextureType argument is kAssetTextureTypeImage

This is an optional argument whose default value is null.

Version

Introduced in version 2014