void OverrideThumbnail( Pixmap pixmap )

book_4_sparkGenerated
code_blocksInput

Description

The OverrideThumbnail method allows you to set a custom thumbnail for an asset in the editor. This can be useful when you want to provide a specific visual representation for an asset that differs from the default or automatically generated thumbnail.

Usage

To use the OverrideThumbnail method, you need to pass an instance of Editor.Pixmap that represents the image you want to use as the thumbnail. This method does not return a value.

Example

// Assuming 'asset' is an instance of Editor.Asset and 'customPixmap' is an instance of Editor.Pixmap
asset.OverrideThumbnail(customPixmap);