void SetIconMode( int iconWidth, int iconHeight )

robot_2Generated
code_blocksInput

Description

The SetIconMode method is used to configure the display of assets in the AssetList to icon mode, specifying the dimensions of the icons. This method allows you to set the width and height of the icons, providing a customizable view of the assets.

Usage

To use the SetIconMode method, call it on an instance of the AssetList class, passing the desired icon width and height as parameters. This will switch the asset list view to icon mode with the specified dimensions.

Example

// Create an instance of AssetList
AssetList assetList = new AssetList();

// Set the asset list to icon mode with specific dimensions
int iconWidth = 64;
int iconHeight = 64;
assetList.SetIconMode(iconWidth, iconHeight);