The Icon64
property provides a 64x64 pixel icon representation for a specific asset type within the editor. This icon is used to visually identify the asset type in various UI components, such as asset browsers or editors.
The Icon64
property provides a 64x64 pixel icon representation for a specific asset type within the editor. This icon is used to visually identify the asset type in various UI components, such as asset browsers or editors.
To access the Icon64
property, you need to have an instance of the Editor.AssetType
class. This property is not static, so it must be accessed through an object of the class. The property returns an Editor.Pixmap
object, which can be used to display the icon in the UI.
// Example of accessing the Icon64 property Editor.AssetType assetType = Editor.AssetType.Model; Editor.Pixmap icon = assetType.Icon64; // Use the icon in your UI component // e.g., display it in an asset browser or editor