mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-28 08:11:08 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
20 lines
373 B
C#
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; }
|
|
}
|
|
}
|