The Icon256
property provides a 256x256 pixel icon representation for the asset type. This icon is typically used in user interfaces where a larger visual representation of the asset type is required, such as in asset browsers or detailed views.
The Icon256
property provides a 256x256 pixel icon representation for the asset type. This icon is typically used in user interfaces where a larger visual representation of the asset type is required, such as in asset browsers or detailed views.
To access the Icon256
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 Icon256 property Editor.AssetType assetType = Editor.AssetType.Model; Editor.Pixmap icon = assetType.Icon256; // Use the icon in your UI component // e.g., setting it as an image source in a UI framework