Description
The Icon64
property provides a 64x64 pixel icon representation for the asset type. This icon is typically used in user interfaces to visually represent the asset type, making it easier for users to identify and differentiate between different asset types at a glance.
Usage
To access the Icon64
property, you need to have an instance of the Editor.AssetType
class. Once you have the instance, you can retrieve the 64x64 icon as follows:
Editor.AssetType assetType = ...; // Obtain the asset type instance
Editor.Pixmap icon = assetType.Icon64;
This will give you the Pixmap
object representing the 64x64 icon, which you can then use in your application as needed.
Example
// Example of accessing the Icon64 property
Editor.AssetType assetType = Editor.AssetType.Model; // Example asset type
Editor.Pixmap icon64 = assetType.Icon64;
// Use the icon64 as needed, for example, displaying it in a UI component