Files
sbox-public/engine/Sandbox.Engine/Resources/Resource.Thumbnail.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

20 lines
373 B
C#

namespace Sandbox;
public partial class Resource
{
/// <summary>
/// Render a thumbnail for this specific resource.
/// </summary>
public virtual Bitmap RenderThumbnail( ThumbnailOptions options )
{
// default, render nothing
return default;
}
public record struct ThumbnailOptions
{
public int Width { get; set; }
public int Height { get; set; }
}
}